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

Home » Public Forums » archive » Re: possible to find position vector immediately after plot?
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: possible to find position vector immediately after plot? [message #59856] Wed, 16 April 2008 12:26
astroboy2k is currently offline  astroboy2k
Messages: 34
Registered: July 2007
Member
On Apr 16, 3:13 pm, Vince Hradil <hrad...@yahoo.com> wrote:
> Mark wrote:
>> Greetings IDL comrades!
>
>> I imagine I'm overlooking something simple here, but I need to find
>> the position of a plot after (or before) its been made; something
>> along these lines:
>
>> !p.multi=[0,2,2]
>> plot, findgen(10)
>
>> now, what is the position vector (e.g., something like: [.
>> 1,.45,.45,.9] )   for this first frame? or for the second, etc.
>
>> I've tried print,!p.position, which gives [0,0,0,0], which doesn't
>> help me at all.
>
>> It seems like it would be possible that once you've specified !p.multi
>> you should be able to find out what the position of the plot frames
>> are, but I've had no luck figuring out how to do this after a long
>> time wandering in the IDL documentation wilderness.
>
>> Thanks very much,
>
>> Mark
>
> Check out !x and !y structures - andhttp://www.dfanning.com/tips/oplot_pmulti.html

Oh, duh. Thanx!
Re: possible to find position vector immediately after plot? [message #59857 is a reply to message #59856] Wed, 16 April 2008 12:13 Go to previous message
Vince Hradil is currently offline  Vince Hradil
Messages: 574
Registered: December 1999
Senior Member
Mark wrote:
> Greetings IDL comrades!
>
> I imagine I'm overlooking something simple here, but I need to find
> the position of a plot after (or before) its been made; something
> along these lines:
>
> !p.multi=[0,2,2]
> plot, findgen(10)
>
> now, what is the position vector (e.g., something like: [.
> 1,.45,.45,.9] ) for this first frame? or for the second, etc.
>
> I've tried print,!p.position, which gives [0,0,0,0], which doesn't
> help me at all.
>
>
> It seems like it would be possible that once you've specified !p.multi
> you should be able to find out what the position of the plot frames
> are, but I've had no luck figuring out how to do this after a long
> time wandering in the IDL documentation wilderness.
>
> Thanks very much,
>
> Mark

Check out !x and !y structures - and http://www.dfanning.com/tips/oplot_pmulti.html
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Huh?? Stddev went crazy!
Next Topic: Re: Huh?? Stddev went crazy!

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

Current Time: Wed Oct 08 19:23:35 PDT 2025

Total time taken to generate the page: 0.00667 seconds