> Does your /cylindrical map projection actually work?
> For my images (global), it did not. Perhaps you are not plotting
> near the poles.
Yes the cylindrical map projection works really well. I have my
(global) data on a fixed lat/lon grid, and when I plot the country
boundaries, they almost perfectly match with google's boundaries in
overlay. The transparent function given above does not work for me
(the saved file is completely transparent), so I use GIMP to make the
background transparent.
Here is my complete code (it uses the Coyote and Catalyst Program
Libraries)
!P.POSITION = [0, 0, 1, 1] & !P.REGION = [0, 0, 1, 1] & !X.MARGIN =
[0, 0] & !Y.MARGIN = [0, 0]
DEVICE, DECOMPOSED=0 & window,1,xsize=5000,ysize=2500 & LoadCT, 22, /
Silent, NColors=255
MAP_SET, /Cylindrical, /NOBORDER, LIMIT = [-90, -180, 90, 180],
Position=[0, 0, 1, 1]
contour, zzzz, lond,latd, MIN_VALUE=0, MAX_VALUE=1,/FILL,
NLEVELS=255, /OVERPLOT, C_Colors=indgen(255), Position=[0, 0, 1, 1]
MAP_CONTINENTS, Color=FSC_Color('black',255) & Map_Grid,
Color=FSC_Color('black',255)
image = tvrd(true=1) & write_png, 'file.png', image & wdelete,1
|