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

Home » Public Forums » archive » Re: map_set for negative data and grid
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: map_set for negative data and grid [message #52068] Mon, 01 January 2007 19:35 Go to next message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
skymaxwell@gmail.com writes:

> i have map_set procedure trouble for negative longtitude and latitude
>
> i was looked at tip there http://www.dfanning.com/tips/map_center.html
> so there recommended use X_lon and Y_lat coords for map_set
> so if i use
>
> WINDOW,1
> map_set,LIMIT=[20,0,50,30],/grid,/continents,/hires,/isotrop ic
>
> then cells of grid are covering map by rectangles
>
> if i use as recommended (with 2 coords)
> WINDOW,0
> map_set,35,15,LIMIT=[20,0,50,30],/grid,/continents,/hires,/i sotropic
>
> then cells of grid are NOT covering map by rectangles

Yeah, that's a problem I don't understand. Perhaps it's
a bug. In fact, the grid lines get clipped to the LIMIT,
whereas the continental boundaries get clipped to the
rectangular box of the map projection. You can see what
I mean with this sequence of commands:

map_set,35,15,LIMIT=[20,0,50,30], /cylin, /iso, $
position=[0.1, 0.1, 0.9, 0.9]
map_continents
map_grid, /box, /label

I'd ask ITTVIS what was up with that. :-)

Cheers,

David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
Re: map_set for negative data and grid [message #52230 is a reply to message #52068] Wed, 10 January 2007 13:47 Go to previous message
skymaxwell@gmail.com is currently offline  skymaxwell@gmail.com
Messages: 127
Registered: January 2007
Senior Member
Hello

any answers from ITTVIS?


David Fanning wrote:

>
>
> I'd ask ITTVIS what was up with that. :-)
>
> Cheers,
>
> David
> --
> David Fanning, Ph.D.
> Fanning Software Consulting, Inc.
> Coyote's Guide to IDL Programming: http://www.dfanning.com/
> Sepore ma de ni thui. ("Perhaps thou speakest truth.")
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: ENVI speclib format
Next Topic: Re: Bug in the SAX parser?

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

Current Time: Wed Oct 08 20:02:48 PDT 2025

Total time taken to generate the page: 0.00376 seconds