Printinf Latitudes & Longitudes in a MAP using IDL [message #46109] |
Tue, 01 November 2005 14:09  |
IDEAL
Messages: 1 Registered: November 2005
|
Junior Member |
|
|
Hello ,
Trying to use IDL to grid data to a MAP. I need some help on
displaying latitudes and longitudes in a MAP using IDL.
I have the data to be shown on the map in img3 variable
and here is the code I am using for showing the data in a MAP
latmin = 15
latmax = 60
lonmin = -140
lonmax = -50
MAP_SET, /cylindrical,LIMIT=[latmin, lonmin, latmax, lonmax]
img3 = MAP_IMAGE(img1,Startx,Starty, COMPRESS=1,LATMIN=latmin,
LONMIN=lonmin,LATMAX=latmax, LONMAX=lonmax)
;Display the warped image on the map at the proper position:
tvscl,img3 ,Startx,Starty
; Draw continent outlines:
MAP_GRID, /BOXAXES,latdel=10, londel=10, latlab=-139, lonlab =
15,/LABEL,/HORIZON
; Draw gridlines over the map and image:
MAP_CONTINENTS, /coasts, /countries
I get the latitudes and longitudes values along the inside border of
the bounding box created by MAP_SET. How can I show the values of the
latitudes and longitudes outside the bounding box created by MAP_SET
Thank You
|
|
|
|