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

Home » Public Forums » archive » Re: Printinf Latitudes & Longitudes in a MAP using IDL
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Printinf Latitudes & Longitudes in a MAP using IDL [message #46088] Wed, 02 November 2005 17:39 Go to previous message
Andrew Cool is currently offline  Andrew Cool
Messages: 219
Registered: January 1996
Senior Member
Ben Tupper wrote:
> IDEAL wrote:
>> 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
>>
> Hi,
>
> I think you have omitted the underscore in the BOX_AXES keyword. The
> BOXAXES keyword, which doesn't exist is quietly ignored since the
> MAP_GRID routine accepts _EXTRA keywords. This has always been a sore
> spot for me... note that MAP_GRID accepts the keyword NO_GRID but FLTARR
> accepts the keyword NOZERO. Bah!
>
> Cheers,
> Ben
>
> PS And don't get Andrew Cool started on the keyword COLO(U)R!

Sir,

You defame me most unjustly! :-(

After 14 years with IDL, I can speak Yank with the best of them.

Y'all have a Nice Day now.

Andrew
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: Re: Dilating at image boundaries
Next Topic: Re: reverse problem

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

Current Time: Wed Oct 08 13:28:03 PDT 2025

Total time taken to generate the page: 0.41301 seconds