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

Home » Public Forums » archive » Re: !p.multi for 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: !p.multi for iplot [message #43610] Wed, 20 April 2005 12:32
Chris[2] is currently offline  Chris[2]
Messages: 39
Registered: August 2003
Member
You can also do this from the command line using the VIEW_GRID, VIEW_NEXT,
VIEW_NUMBER, and OVERPLOT keywords.

-Chris

"maarten" <user@domain.invalid> wrote in message
news:42667443.7070806@domain.invalid...
> Hello all,
>
> I was wondering how to plot several graphs in the same window using
> iplot. Normally I would use !p.multi to set the number of plots I want,
> however this doesn't affect the iplot window. Is there a similar
> command, or setting to do this?
>
> cheers maarten
>
Re: !p.multi for iplot [message #43618 is a reply to message #43610] Wed, 20 April 2005 09:02 Go to previous message
maarten is currently offline  maarten
Messages: 30
Registered: April 2002
Member
Thanks this does what I want.
Does anyone know how to set the size of the different plots. I want them
to be completely equal, and thererfore I do not want to use the mouse to
resize them. Can this be set, or is it possible to specify that you want
the plots to use the available width of the window?


cheers maarten

Benjamin Hornberger wrote:
> maarten wrote:
>
>> Hello all,
>>
>> I was wondering how to plot several graphs in the same window using
>> iplot. Normally I would use !p.multi to set the number of plots I
>> want, however this doesn't affect the iplot window. Is there a similar
>> command, or setting to do this?
>
>
> What I do is to set Window -> Layout to "Gridded", say 2 x 2. I haven't
> really figured out how to plot into the other windows from within the
> iTool (there are many things which confuse me, e.g. do I have to insert
> a data space or a visualization? I don't know). But one way to do it is
> to mark the frame you want to plot in with the mouse (it will get a red
> border) and then, from the command line, do
>
> IDL> iplot, x, y, /overplot
>
> I'd like to hear more about putting different plots, images etc. into
> one iTool. Another problem I ran into was when I put, say, 4 x 6 images
> into one iImage, it got so slow that you could barely work with it any
> more. I'd also like to know if I can put two plots into one frame,
> without gridding the window (which would allow me to put a text box with
> a title above both of them).
>
> Benjamin
Re: !p.multi for iplot [message #43620 is a reply to message #43618] Wed, 20 April 2005 08:42 Go to previous message
Benjamin Hornberger is currently offline  Benjamin Hornberger
Messages: 258
Registered: March 2004
Senior Member
maarten wrote:
> Hello all,
>
> I was wondering how to plot several graphs in the same window using
> iplot. Normally I would use !p.multi to set the number of plots I want,
> however this doesn't affect the iplot window. Is there a similar
> command, or setting to do this?

What I do is to set Window -> Layout to "Gridded", say 2 x 2. I haven't
really figured out how to plot into the other windows from within the
iTool (there are many things which confuse me, e.g. do I have to insert
a data space or a visualization? I don't know). But one way to do it is
to mark the frame you want to plot in with the mouse (it will get a red
border) and then, from the command line, do

IDL> iplot, x, y, /overplot

I'd like to hear more about putting different plots, images etc. into
one iTool. Another problem I ran into was when I put, say, 4 x 6 images
into one iImage, it got so slow that you could barely work with it any
more. I'd also like to know if I can put two plots into one frame,
without gridding the window (which would allow me to put a text box with
a title above both of them).

Benjamin
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: !p.multi for iplot
Next Topic: Re: Fitting a function with multiple independent variables

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

Current Time: Wed Oct 08 21:29:34 PDT 2025

Total time taken to generate the page: 0.08608 seconds