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

Home » Public Forums » archive » using !P.MULTI to oplot to different regions
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
using !P.MULTI to oplot to different regions [message #15254] Thu, 06 May 1999 00:00
T Bowers is currently offline  T Bowers
Messages: 56
Registered: May 1998
Member
If I create 2 windows that'll each hold 2 plots in a column with...

!P.MULTI = [0,1,2]
window,1,xsize=350,ysize=700
window,2,xsize=350,ysize=700

then I plot in them with

wset,1
plot, lambdas[*], absorption1[*] ;plot in window 1, top
plot, lambdas[*], attenuation1[*] ;plot in window 1, bottom
wset,2
plot, lambdas[*], absorption2[*] ;plot in window 2, top
plot, lambdas[*], attenuation2[*] ;plot in window 2, bottom

[code to screw with the data]

Now I want to overplot in each window / region again
!P.MULTI = [2,1,2]
wset,1
oplot, lambdas[*], absorption1[*] ;plot in window 1, top
oplot, lambdas[*], attenuation1[*] ;plot in window 1, bottom
wset,2
oplot, lambdas[*], absorption2[*] ;plot in window 2, top
oplot, lambdas[*], attenuation2[*] ;plot in window 2, bottom

I *thought* that !P.MULTI = [2,1,2] command would tell IDL
that I have 2 plots to go, so oplot into the top portion of each
window, but it oplots onto the bottom plot of each window.
I als tried that !P.MULTI = [1,1,2], still oplotted onto bottom
plot. I also tried moving the !P.MULTI = [2,1,2] command
after the wset,1 and wset,2 commands, but it *always* oplots
over the bottom plot. What gives?

thanks,
todd

--
Todd Bowers
tbowers@nrlssc.navy.mil
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: How to plot great circles on a map?
Next Topic: Re: Converting 24 bit images to 8 bit images with a specific colour table

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

Current Time: Wed Oct 08 15:52:49 PDT 2025

Total time taken to generate the page: 0.00479 seconds