hold(ON) - hold(off)
John W. Eaton
jwe at octave.org
Wed Feb 4 12:08:36 CST 2009
On 4-Feb-2009, Stefan Pofahl wrote:
| Bug report for Octave 3.0.3 configured for i686-pc-msdosmsvc
|
| Description:
| -----------
|
| * The command "hold on;" or "hold("on");" failes sometimes
|
| Repeat-By:
| ---------
|
| * Here an example code:
| ------
| function hold_on_test ()
| no = 2;
| x = (1:0.1:10)';
|
| y(:,1) = cos(x);
| y(:,2) = sin(x);
|
| #
| clf();
| # If I uncomment the command "plot(0);" in next line it works
| # plot(0);
| hold("on");
| for i = 1:no
| # hold on;
| is_hold = ishold()
| phandle(i) = plot(x,y(:,i));
| endfor
| hold("off");
| endfunction
I see this problem with 3.0.3 on my system, but not with the current
development sources of Octave, so I think the problem has been fixed.
jwe
More information about the Bug-octave
mailing list