Re: map_set for negative data and grid [message #52068] |
Mon, 01 January 2007 19:35  |
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.")
|
|
|