help-octave
[Top][All Lists]
Advanced

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

Re: Bug plot after calling plotyy


From: vathomas
Subject: Re: Bug plot after calling plotyy
Date: Sun, 27 Jan 2013 04:50:12 -0800 (PST)

Hi Lourenço,

I ran your example and I see the same error. I do not know exactly the cause
-- suspect an empty axis handle -- but I can suggest a workaround.
Call the 'clf' function before the second call to plot.

like:

plot(b(:,2),b(:,4))
plotyy(b(:,1),b(:,2),b(:,1),b(:,4))
clf; plot(b(:,2),b(:,4))

This worked from me.

best
Thomas



--
View this message in context: 
http://octave.1599824.n4.nabble.com/Bug-plot-after-calling-plotyy-tp4649135p4649146.html
Sent from the Octave - General mailing list archive at Nabble.com.


reply via email to

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