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

Home » Public Forums » archive » Re: Map Function Question
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Map Function Question [message #79855 is a reply to message #79852] Thu, 19 April 2012 07:31 Go to previous messageGo to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
alx writes:

> Maybe I do not fully understand what you exactly want.
> But I think that everything can be obtained with an adequate
> combination of POSITION, ASPECT_RATIO keywords and CONVERTCOORD, SCALE
> and TRANSLATE functions (even ROTATE if you like).
> For example, with the yesterday example, you can exactly and entirely
> fill your window by doing:
> im = IMAGE(scaledData, x, y, RGB_TABLE=rgb, ASPECT_RATIO=0, $
> XRANGE=xrange, YRANGE=yrange, GRID_UNITS='degrees',
> POSITION=[0.0,0.0,1.0,1.0])
> map = map('EQUIRECTANGULAR', LIMIT=limit, ASPECT_RATIO=0,
> POSITION=[0.0,0.0,1.0,1.0], /CURRENT)
> Is'nt it ?

Yes, the key point is the undocumented ASPECT_RATIO keyword
on the map projection. It only took me 15 minutes to think of
trying *that*. Maybe I'm beginning to think like a
Function Graphics expert!

Cheers,

David



--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.idlcoyote.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: PyMOL in IDL
Next Topic: What color should it be?

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

Current Time: Wed Oct 08 18:05:07 PDT 2025

Total time taken to generate the page: 0.00528 seconds