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

Home » Public Forums » archive » Re: position plot in iplot
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: position plot in iplot [message #63092] Tue, 28 October 2008 05:45 Go to next message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
AndiBiffar@googlemail.com writes:

> i want to add annotations to an iplot on the right side of the plot. I
> have done the same thing with traditional plots. I first created a
> window with a fixed size and afterwards positioned the plot and the
> annotations via xyouts.
>
> However using iplots i dont know what would be the replacement for
> firstly initializing a window of a defined size and afterwards
> positioning the iplot within it.

Well, let's just say you are not the *only* one who doesn't
understand iTools. It's my believe that they are inherently
incapable of being understood. But, that said, in my poking
around the farm the other day, I came upon another program
that I didn't know was there: IXYOUTS. This program is
suppose to be the XYOUTS program for iTools, allowing you
to add annotations to an iPlot. I say "suppose to be" because
I've never figured out iTools enough to use the damn things,
so I've never used the program. But I remember *thinking*
it worked. :-)

http://www.dfanning.com/programs/ixyouts.pro

Cheers,

David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
Re: position plot in iplot [message #63148 is a reply to message #63092] Wed, 29 October 2008 01:21 Go to previous messageGo to next message
AndiBiffar is currently offline  AndiBiffar
Messages: 7
Registered: October 2008
Junior Member
On 28 Okt., 13:45, David Fanning <n...@dfanning.com> wrote:
> AndiBif...@googlemail.com writes:
>> i want to add annotations to an iplot on the right side of the plot. I
>> have done the same thing with traditional plots. I  first created a
>> window with a fixed size and afterwards positioned the plot and the
>> annotations via xyouts.
>
>> However using iplots i dont know what would be the replacement for
>> firstly initializing a window of a defined size and afterwards
>> positioning the iplot within it.
>
> Well, let's just say you are not the *only* one who doesn't
> understand iTools. It's my believe that they are inherently
> incapable of being understood. But, that said, in my poking
> around the farm the other day, I came upon another program
> that I didn't know was there: IXYOUTS. This program is
> suppose to be the XYOUTS program for iTools, allowing you
> to add annotations to an iPlot. I say "suppose to be" because
> I've never figured out iTools enough to use the damn things,
> so I've never used the program. But I remember *thinking*
> it worked. :-)
>
>   http://www.dfanning.com/programs/ixyouts.pro
>
> Cheers,
>
> David
> --
> David Fanning, Ph.D.
> Fanning Software Consulting, Inc.
> Coyote's Guide to IDL Programming:http://www.dfanning.com/
> Sepore ma de ni thui. ("Perhaps thou speakest truth.")

Hi David,

i totally agree with your opinion about itools. However since i am
working on a GUI generating data fits i want the users using this GUI
to be able to edit plots generated. As far as i know the only way to
do this is using an iplot.

My problem is not to position of the annotations, which of course is
way easier with your ixyouts than with the idl standard syntax using
idAnnotate.

Still my problem is the positioning of the plot. In the case of using
plot i would generate my output in the following way

window, xsize, ysize

plot, ... position=[0.1,0.2,0.5,0.9] ....

thereby i can move my plot more to the left of the window.

What i would like to know now is how to generate a window in which i
could either position the iplot or how to tell the iplot to be left
aligned in the iplot window. So far my iplot is always centered and
therefore i get a huge white space on the lef side if want to be able
to add annotations on the right side for example.

Is there an object above the iplot which i could maybe generate and
position the iplot inside afterwards.

Thx in advance
Andi
Re: position plot in iplot [message #63231 is a reply to message #63148] Thu, 30 October 2008 09:03 Go to previous message
pgrigis is currently offline  pgrigis
Messages: 436
Registered: September 2007
Senior Member
AndiBiffar@googlemail.com wrote:
> On 28 Okt., 13:45, David Fanning <n...@dfanning.com> wrote:
>> AndiBif...@googlemail.com writes:
>>> i want to add annotations to an iplot on the right side of the plot. I
>>> have done the same thing with traditional plots. I �first created a
>>> window with a fixed size and afterwards positioned the plot and the
>>> annotations via xyouts.
>>
>>> However using iplots i dont know what would be the replacement for
>>> firstly initializing a window of a defined size and afterwards
>>> positioning the iplot within it.
>>
>> Well, let's just say you are not the *only* one who doesn't
>> understand iTools. It's my believe that they are inherently
>> incapable of being understood. But, that said, in my poking
>> around the farm the other day, I came upon another program
>> that I didn't know was there: IXYOUTS. This program is
>> suppose to be the XYOUTS program for iTools, allowing you
>> to add annotations to an iPlot. I say "suppose to be" because
>> I've never figured out iTools enough to use the damn things,
>> so I've never used the program. But I remember *thinking*
>> it worked. :-)
>>
>> � http://www.dfanning.com/programs/ixyouts.pro
>>
>> Cheers,
>>
>> David
>> --
>> David Fanning, Ph.D.
>> Fanning Software Consulting, Inc.
>> Coyote's Guide to IDL Programming:http://www.dfanning.com/
>> Sepore ma de ni thui. ("Perhaps thou speakest truth.")
>
> Hi David,
>
> i totally agree with your opinion about itools. However since i am
> working on a GUI generating data fits i want the users using this GUI
> to be able to edit plots generated.

Edit the data? Your user must be politicians, not scientists....

Ciao,
Paolo


> As far as i know the only way to
> do this is using an iplot.
>
> My problem is not to position of the annotations, which of course is
> way easier with your ixyouts than with the idl standard syntax using
> idAnnotate.
>
> Still my problem is the positioning of the plot. In the case of using
> plot i would generate my output in the following way
>
> window, xsize, ysize
>
> plot, ... position=[0.1,0.2,0.5,0.9] ....
>
> thereby i can move my plot more to the left of the window.
>
> What i would like to know now is how to generate a window in which i
> could either position the iplot or how to tell the iplot to be left
> aligned in the iplot window. So far my iplot is always centered and
> therefore i get a huge white space on the lef side if want to be able
> to add annotations on the right side for example.
>
> Is there an object above the iplot which i could maybe generate and
> position the iplot inside afterwards.
>
> Thx in advance
> Andi
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: FFT OF A NON RECTANGULAR IMAGE
Next Topic: Re: ITK Interface

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

Current Time: Wed Oct 08 17:36:25 PDT 2025

Total time taken to generate the page: 0.00600 seconds