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

Home » Public Forums » archive » oplot
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 [message #69526] Mon, 25 January 2010 06:16
Thibault Garel is currently offline  Thibault Garel
Messages: 55
Registered: October 2009
Member
Hi,

here is what i am trying to do:


"for i = 0,10 do begin

if i eq 0 then begin
plot,x1,y1,........
plot,w1,z1,........
.............
endif else begin
oplot,x2,y2
oplot,w2,z2
..................
endelse

endfor"

but i want the "oplot,x2,y2" to overplot the "plot,x1,y1,........" ,
the "oplot,w2,z2" to overplot " plot,w1,z1,........" and so on; that
is to say, i want that each "oplot" command applies to the
corresponding "plot" procedure.
Whereas when i do the script written above, it overplots everything on
the last plot.
Is there any way to allocate a name/number to each "plot" procedure in
order to overplot the corresponding thing on it? like:


"for i = 0,10 do begin

if i eq 0 then begin
plot,x1,y1,NAME=1
plot,w1,z1,NAME=2
.............
endif else begin
oplot,x2,y2,NAME=1
oplot,w2,z2,NAME=2
..................
endelse

endfor"


Thank you!
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: PAYPAL payment wholesale BRAND shoes,clothing,watch,handbag,jean,ugg boot,t-shirt,jersey,eyeglass,belt,wallet and so on
Next Topic: idlwave segfault

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

Current Time: Wed Oct 08 20:01:55 PDT 2025

Total time taken to generate the page: 0.77083 seconds