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

Home » Public Forums » archive » Re: New Graphics: Layout and Position
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
Re: New Graphics: Layout and Position [message #78909] Thu, 12 January 2012 05:41
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Axel writes:

> Thanks, I see. It's evolving, hopefully in the right direction.
> Nevertheless, translating position coordinates between "global" and
> "local" in multi plots (layout=[4,4,i] seems is a generic problem. I
> know how to do it in direct graphics but can't quite figure out how to
> do it in the new graphics world. Any suggestions?

I would make your feature requests more widely known,
especially to people who might be able to do something
about it. None of us here are going to be doing any
"programming" (in the sense of adding features to
an already existing set of routines) in the new
graphics world. :-)

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.")
Re: New Graphics: Layout and Position [message #78915 is a reply to message #78909] Wed, 11 January 2012 18:57 Go to previous message
Axel[1] is currently offline  Axel[1]
Messages: 10
Registered: January 2011
Junior Member
David
Thanks, I see. It's evolving, hopefully in the right direction.
Nevertheless, translating position coordinates between "global" and
"local" in multi plots (layout=[4,4,i] seems is a generic problem. I
know how to do it in direct graphics but can't quite figure out how to
do it in the new graphics world. Any suggestions?

Thanks
Axel
On Jan 11, 4:21 pm, David Fanning <n...@dfanning.com> wrote:
> Axel writes:
>> I'm trying to position/size a legend (or other graphic) relative to
>> the graphics in a "layout" sub window using "new graphics".  The
>> position parameter seems to be relative to the global graphics window,
>> not the sub-plot.
>> Anyone know how to do this. I would have thought this to be a built-in
>> option but maybe not?
>
> I wouldn't agonize too much over where you are going to put
> the legend. It's going to move when you resize the window,
> anyway. :-)
>
>   http://www.idlcoyote.com/ng_tips/loglegend.php
>
> But, to get started, it seems to like normalized
> coordinates best.
>
> 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.")
Re: New Graphics: Layout and Position [message #78917 is a reply to message #78915] Wed, 11 January 2012 16:21 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Axel writes:

> I'm trying to position/size a legend (or other graphic) relative to
> the graphics in a "layout" sub window using "new graphics". The
> position parameter seems to be relative to the global graphics window,
> not the sub-plot.
> Anyone know how to do this. I would have thought this to be a built-in
> option but maybe not?

I wouldn't agonize too much over where you are going to put
the legend. It's going to move when you resize the window,
anyway. :-)

http://www.idlcoyote.com/ng_tips/loglegend.php

But, to get started, it seems to like normalized
coordinates best.

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.")
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: postscripts with multiplot on a Mac
Next Topic: Re: Use of Cursor

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

Current Time: Thu Oct 09 21:46:41 PDT 2025

Total time taken to generate the page: 0.96136 seconds