John Kwiatkowski wrote:
>
> I can't figure out how to draw a map that spans the International
> Dateline, i.e., the meridion where longitude is 180 (or -180).
>
> If I go right up to the dateline but not over it, I get a nice map
> including Japan:
> map_set,/grid, /continent,limit = [0,100,50,180]
>
> However, if I cross the dateline I get some gridlines but no Japan:
> map_set,/grid, /continent,limit = [0,100,50,-160]
>
> If I use the limit keyword with 8 elements, either
> map_set,/grid, /continent,limit = [50,100,50,-160,0,-160,0,100] or
> map_set,/grid, /continent,limit = [0,100,50,100,50,-160,0,-160]
> I get a blank window.
>
> Also, I can't seem to get the limit (4 element) keyword to behave.
> For example , if I want a map of Florida limit =[20,-88,30,-80]
> map_set,limit=[20,-88,30,-80],/cont,/label
>
> I get a map from 20 to 26 lat and -88 to -82 lon. How can I force it
> to listen to my limits?
>
> Thanks for any help,
> John Kwiatkowski
Oh yeah! My fun subject ;-)
You'll need to set the map origin somewhere within your LIMITs and make
sure that limit is monotonically increasing. Example:
map_set,0,175,limit=[-50,140,50,210]
that should work.
BTW: If you are planning to overlay contours on your map: make sure your
data is sorted correctly and within your map range. This has caused so
much trouble already ...
Martin.
--
------------------------------------------------------------ -------
Dr. Martin Schultz
Department for Engineering&Applied Sciences, Harvard University
109 Pierce Hall, 29 Oxford St., Cambridge, MA-02138, USA
phone: (617)-496-8318
fax : (617)-495-4551
e-mail: mgs@io.harvard.edu
Internet-homepage: http://www-as.harvard.edu/people/staff/mgs/
------------------------------------------------------------ -------
|