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 #79852] Thu, 19 April 2012 08:10 Go to previous message
lecacheux.alain is currently offline  lecacheux.alain
Messages: 325
Registered: January 2008
Senior Member
On 19 avr, 16:31, David Fanning <n...@idlcoyote.com> wrote:
> 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.")
>
>

We are getting closer and closer of what I said a few messages ago:
Graphics is working not too bad and, even, might be quite useful
(after correction of some flaw as, for instance, the COLORBAR
function).
But the present documentation is so poor that we have to experiment
for each keyword, for each called function, before to find the right
statement. It is unacceptable!
Exelis MUST correct the situation as soon as possible.
alain.
[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 15:37:03 PDT 2025

Total time taken to generate the page: 0.01123 seconds