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

Home » Public Forums » archive » Re: Multiple graphs in IDL
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: Multiple graphs in IDL [message #2680] Mon, 22 August 1994 14:18
8015 is currently offline  8015
Messages: 52
Registered: November 1993
Member
In article <lynch.64.2E54D7E8@stars.gsfc.nasa.gov>,
David Lynch <lynch@stars.gsfc.nasa.gov> wrote:
> I have noticed that the plots I get in IDL are in a window named IDL 0. Is
> there any way to generate more windows for plots, and to issue commands to
> oplot on these windows?
>

Sure. How about the following commands:
; create a few blank windows
window, 1, xsize=600, ysize=400, title="Plot 1"
window, 2, xsize=600, ysize=400, title="Plot 2"
window, 3, xsize=600, ysize=400, title="Plot 3"
window, 4, xsize=600, ysize=400, title="Plot 4"
; make subsequent commands display on window 1
WSet, 1
plot, x, y
oplot, x1, y1
; make subsequent commands display on window 2
WSet, 2
...
; back to window 1
WSet, 1
...

Mike Schienle Hughes Santa Barbara Research Center
8015@sbsun0010.sbrc.hac.com 75 Coromar Drive, M/S B28/87
Voice: (805)562-7466 Fax: (805)562-7881 Goleta, CA 93117
Re: Multiple graphs in IDL [message #2686 is a reply to message #2680] Fri, 19 August 1994 09:35 Go to previous message
andy is currently offline  andy
Messages: 31
Registered: November 1993
Member
In article <lynch.64.2E54D7E8@stars.gsfc.nasa.gov>, lynch@stars.gsfc.nasa.gov (David Lynch) writes:
> I have noticed that the plots I get in IDL are in a window named IDL 0. Is
> there any way to generate more windows for plots, and to issue commands to
> oplot on these windows?
>
> Dave Lynch
> ************************************************************ ****************
> David Lynch e-mail:
> Global Science and Technology lynch@gst.gsfc.nasa.gov
> 6411 Ivy Lane Suite 610 lynch@stars.gsfc.nasa.gov
> Greenbelt MD. 20770
> Phone STARS::LYNCH
> (301) 474-9696
> ************************************************************ ****************

Yes,

Try these commands.

plot, indgen(10) ! Plots to window 0 (Default)
window, /free ! Gives you and additional window (we'll say #32)
plot, indgen(20) ! Plots to new window (32)
wset, 0 ! Return to window (0)
plot, indgen(40) ! Plots to window 0

Hope that answers your question.

--
,__o Andrew F. Loughe (Mail Code 971) phone: (301) 286-5899
-\_<, NASA Goddard Space Flight Center fax : (301) 286-0240
(*)/'(*) Greenbelt, MD 20771 email: andy.loughe@gsfc.nasa.gov
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: IDL (Interactive Data Language) FAQ (update)
Next Topic: converting ieee-float-format to pw-wave-float-format

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

Current Time: Wed Oct 08 11:44:56 PDT 2025

Total time taken to generate the page: 0.00632 seconds