Map issue wth IDL8 new graphics: conformal or equal-area maps in rectangular shape [message #85409] |
Wed, 31 July 2013 14:17  |
jkeller
Messages: 35 Registered: October 2009
|
Member |
|
|
I started using IDL 8 new graphics and I am quite happy with the results. However, I got a map problem. With IDL 7 I used to do this kind of map (normally without the grid):
http://imageshack.us/photo/my-images/24/zjxk.png/
using this command for the map
map_set,50,18,limit=[25.5,-17,71.5,41],/LAMBERT
I am not able to recreate a similar map with NG as the edges are cutted off where the grid ends in my example (what is kind of correct as these areas are not inside the map limit).
However, is it possible to generate a rectangular map with conformal or equal-area projection in IDL NG?
Cheers,
Jan
|
|
|
Re: Map issue wth IDL8 new graphics: conformal or equal-area maps in rectangular shape [message #85566 is a reply to message #85409] |
Fri, 16 August 2013 15:44  |
chris_torrence@NOSPAM
Messages: 528 Registered: March 2007
|
Senior Member |
|
|
Hi Jan,
Sorry it took so long to respond. You can do this in NG if you specify a larger map limit, but then restrict the actual map XRANGE to the "original" limit.
Something like this:
m = map('Lambert Azimuthal', limit=[25.5,-17,71.5,41])
mc = mapcontinents()
xrange = m.xrange
yrange = m.yrange
m.limit = [15,-50,89,100]
m.xrange = xrange
m.yrange = yrange
Not quite as simple as the direct graphics code, but perhaps as you say, the NG is technically doing the "right thing" by clipping to the map limit. Perhaps we should add a "RECTANGULAR" keyword to Map() ?
Cheers,
Chris
ExelisVIS
|
|
|