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

Home » Public Forums » archive » Map issue wth IDL8 new graphics: conformal or equal-area maps in rectangular shape
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
Map issue wth IDL8 new graphics: conformal or equal-area maps in rectangular shape [message #85409] Wed, 31 July 2013 14:17 Go to next message
jkeller is currently offline  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 Go to previous message
chris_torrence@NOSPAM is currently offline  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
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Spatial and temporal image correlation
Next Topic: A bug of NG plot?

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

Current Time: Wed Oct 08 09:22:35 PDT 2025

Total time taken to generate the page: 0.00438 seconds