comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » MAP_GRID problem
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
MAP_GRID problem [message #60853] Thu, 19 June 2008 10:28
xiao zhang is currently offline  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:
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Can't pass data with CALL_EXTERNAL to C function
Next Topic: Re: MAP_GRID problem

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 20:01:42 PDT 2025

Total time taken to generate the page: 0.38015 seconds