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 
Switch to threaded view of this topic 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 next 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
Re: Printinf Latitudes & Longitudes in a MAP using IDL [message #46101 is a reply to message #46088] Wed, 02 November 2005 05:10 Go to previous messageGo to next message
btt is currently offline  btt
Messages: 345
Registered: December 2000
Senior Member
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!
Re: Printinf Latitudes & Longitudes in a MAP using IDL [message #46190 is a reply to message #46088] Fri, 04 November 2005 04:52 Go to previous message
btt is currently offline  btt
Messages: 345
Registered: December 2000
Senior Member
andrew.cool@dsto.defence.gov.au wrote:
> Ben Tupper wrote:
>
>>
>> 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
>

Hey, hey hey - just a minute, bub. Are you saying the IDL docs are
written in English? Well I'll be danged. Who woulda guessed?

Ben
  Switch to threaded view of this topic Create a new topic Submit Reply
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 11:26:58 PDT 2025

Total time taken to generate the page: 0.02343 seconds