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
|