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

Home » Public Forums » archive » Oplot in multiple plots (extending over 2 pages)
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
Oplot in multiple plots (extending over 2 pages) [message #78383] Fri, 18 November 2011 05:48
Cristina is currently offline  Cristina
Messages: 2
Registered: November 2011
Junior Member
Hi,
I've searched the forum concerning overplotting of data on plots other
than the last draw one. I can do this restoring the system variables
in the way indicated when I have only plots on one page, i.e. 4 plots
in 1 page set with p!.multi:
!p.multi=[0,2,2]
plot,[0,10], & x1=!x & y1=!y & p1=!p
plot,[0,10], & x1=!x & y2=!y & p2=!p
plot,[0,10], & x2=!x & y3=!y & p3=!p
plot,[0,10], & x3=!x & y4=!y & p4=!p
!x=x1 & !y=y1 & !p=p1 & oplot,[10,5]
This overplots data in plot 1.
But when I have 7 plots extending over 2 pages (in a .ps output
file), i.e.:
!p.multi=[0,2,2]
plot,[0,10], & x1=!x & y1=!y & p1=!p
plot,[0,10], & x2=!x & y2=!y & p2=!p
plot,[0,10], & x3=!x & y3=!y & p3=!p
plot,[0,10], & x4=!x & y4=!y & p4=!p
plot,[0,10], & x5=!x & y5=!y & p5=!p
plot,[0,10], & x6=!x & y6=!y & p6=!p
plot,[0,10], & x7=!x & y7=!y & p7=!p

!x=x1 & !y=y1 & !p=p1 & oplot,[10,5]
!x=x2 & !y=y2 & !p=p2 & oplot,[10,5]
!x=x3 & !y=y3 & !p=p3 & oplot,[10,5]
!x=x4 & !y=y4 & !p=p4 & oplot,[10,5]
!x=x5 & !y=y5 & !p=p5 & oplot,[5,0]
!x=x6 & !y=y6 & !p=p6 & oplot,[5,0]
!x=x7 & !y=y7 & !p=p7 & oplot,[5,0]
I then get the 7 plots, but overplotting only works in the 5,6 and
7th (although data that should have been overplotted in the 1-4th
plots are plotted over the 5,6&7th too) and there are also data
plotted in the white space of the possible 8th plot.

Thanks for your help!

Cristina.
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: refresh option?
Next Topic: Re: new window in coyote graphics

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

Current Time: Wed Oct 08 19:05:44 PDT 2025

Total time taken to generate the page: 0.02909 seconds