MAP_GRID problem [message #60853] |
Thu, 19 June 2008 10:28 |
xiao zhang
Messages: 81 Registered: June 2008
|
Member |
|
|
Hi everyone~ I have a problem arouse here. When i ues the MAP_GRID and
Map_continent command . It still does not show the grid lines and the
continental line. I know they are at the top of the image. But it
still does not appear......
The code is like this: (new is 800*800 array)
loadct,0
lat_min=-36.5
lat_max=-27.5
lon_min=113
lon_max=122
;defind the max and min latitude and longtitude of the data area
smap=MAP_PROJ_INIT('Polar Stereographic',/
GCTP,center_longitude=117.5,center_latitude=-32,limit=[-25,1 10,-40,125])
result1 = MAP_PROJ_FORWARD([110,125],[-40,-25],/
fill,MAP_STRUCTURE=smap)
result = MAP_PROJ_IMAGE(new,
[lon_min,lat_min,lon_max,lat_max],MAP_STRUCTURE=smap,missing =0)
tv,result
MAP_GRID,/BOX_AXES,/label,linestyle=0,MAP_STRUCTURE=smap,col or=30
; Draw gridlines over the map
MAP_CONTINENTS, /coasts,MAP_STRUCTURE=smap,color=30
; Draw continent outlines:
|
|
|