[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
plotyy problem
From: |
keithspg |
Subject: |
plotyy problem |
Date: |
Wed, 1 Dec 2010 08:38:16 -0800 (PST) |
I am running a function I wrote to crunch some acquired data. I am also using
plotyy to plot this and generate a pdf of each data set. Everything works
great except that my loop runs 32 times and each time plotyy comes back with
an answer requiring a return press. When the function completes its work, I
must hit 'f' once or twice to see all the 'ans = 1' for each loop. All the
plots are generated and such, so it is not a problem with function, just a
bit odd when used in a function as I am here.
The behavior of plotyy can be seen with these input lines:
octave:1> x=[1:10];
octave:2> y=[10:-1:1];
octave:3> plot(x);
octave:4> clf
octave:5> plot(y);
octave:6> clf
octave:7> plotyy(x,x,x,y);
ans = 1
Notice that this does not happen with plot. I have looked through the
plotyy.m for a missing semicolon, but could not find one. Can anyone else
give any help with this? I am running 3.3.54 compiled from the tar ball.
KeithG
--
View this message in context:
http://octave.1599824.n4.nabble.com/plotyy-problem-tp3067627p3067627.html
Sent from the Octave - General mailing list archive at Nabble.com.
- plotyy problem,
keithspg <=