help-octave
[Top][All Lists]
Advanced

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

Re: plotyy problem


From: Ben Abbott
Subject: Re: plotyy problem
Date: Wed, 01 Dec 2010 21:10:40 -0500

On Dec 1, 2010, at 11:38 AM, keithspg wrote:

> 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

I think this has been recently fixed. I don't recall where the problem was. If 
I'm able to find the changeset, I'll provide the info.

Ben






reply via email to

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