Re: New Graphics: Layout and Position [message #78909] |
Thu, 12 January 2012 05:41 |
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  |
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  |
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.")
|
|
|