f



Map issue wth IDL8 new graphics: conformal or equal-area maps in rectangular shape

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
0
jkeller
7/31/2013 9:17:05 PM
comp.lang.idl-pvwave 12260 articles. 4 followers. Post Follow

1 Replies
580 Views

Similar Articles

[PageSpeed] 56

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
0
Chris
8/16/2013 10:44:54 PM
Reply: