help-octave
[Top][All Lists]
Advanced

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

Re: Multiplot Clearing Problem


From: Henry F. Mollet
Subject: Re: Multiplot Clearing Problem
Date: Tue, 13 Jul 2004 11:43:58 -0700
User-agent: Microsoft-Entourage/10.1.1.2418

on 7/13/04 10:35 AM, Dmitri A. Sergatskov at address@hidden wrote:

> Henry F. Mollet wrote:
>> As each subplot requires "hold on" to produce the triangle
>> (blue) and one contour (grey), I have to "clear" between
>> each subplot or the "hold on" will apply to subsequent subplots.
>> I do this by plotting to a "dummy" subplot:
>> subplot (2,3,6) % clearing patch using different cols of Results matrix
>> plot (Results(1:1,3),Results(1:1,6),"x").
>> 
> 
> May be I do not quite understand what you are trying to do, but in my
> (limited) experience with multiplot you really need to use a single
> line plot command, e.g.:
> 
> plot(x1,y1,"x;Label1;",x2,y2,"o;Label2;",x3,y3,"-b;;", x4,y4,"-r;;")
> 
> 
>> Henry
>> 
> 
> Regards,
> 
> Dmitri.

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,
respectively (with same color as in different subplots). If I use subplots,
then the first subplot would have all the red data. Ok so far. The next
subplot *should* have only the blue data but it will also replot the red
data because I need to use hold on to create each subplot. My trick was to
clear from gnuplot memory the data used in the first/previous plot(s) by
plotting something entirely different to a dummy subplot.  This worked fine
for the first five subplots but at the end I'm stuck with an unwanted dummy
subplot. 
Henry
Henry

Attachment: MultiplotFollowUp.pdf
Description: Binary data


reply via email to

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