help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Multiplot Clearing Problem


From: Dmitri A. Sergatskov
Subject: Re: Multiplot Clearing Problem
Date: Tue, 13 Jul 2004 13:20:10 -0600
User-agent: Mozilla Thunderbird 0.7.1 (X11/20040626)

Henry F. Mollet wrote:


Sorry if I was not clear but I had hoped the pdf would help. What you
suggest is not what I want.

octave:8> plot (Results(1:29,8),Results(1:29,9),"x",Results(30:56,8),Results(30:56,9),"@33x
")

will produce one "subplot" as per attached pdf. However, the red and blue
data need to be in different subplots as per original pdf subplots 1 and 2,

Yes then you do

subplot(..)

and do another plot.

I do not understand why do you need 'hold' and 'clear'

E.g.

t=linspace(-3,3,201);
subplot(2,2,1)
plot(t,sin(t),"xb;;",2*t,cos(t),"*r;;")
#
subplot(2,2,2)
plot(t,sin(t),"xb;;",2*t,cos(3*t),"address@hidden;;")
#
subplot(2,2,3)
plot(t,sin(t),"xb;;",2*t,cos(4*t),".m;;")
#
subplot(2,2,4)
plot(t,sin(t),"xb;;",2*t,cos(3*t),"^c;;")


Will make four plots  with sin(t) plotted on each plot with the same color and 
point/line type
and the other data with the colors and linestyle of your choice...

Henry


Dmitri.



-------------------------------------------------------------
Octave is freely available under the terms of the GNU GPL.

Octave's home on the web:  http://www.octave.org
How to fund new projects:  http://www.octave.org/funding.html
Subscription information:  http://www.octave.org/archive.html
-------------------------------------------------------------



reply via email to

[Prev in Thread] Current Thread [Next in Thread]