tag 623554 fixed-upstream kthxbye On 21 April 2011 02:11, <[email protected]> wrote: > Package: octave3.2 > Version: 3.2.4-8 > Severity: normal > > If executing the script below (the contents of the testplot function > is copied from the manual), the first call of testplot succeeds, but > the second one fails with an error: > error: addproperty: a `__plotyy_axes__' property already > exists in the graphics object > error: called from: > error: /usr/share/octave/3.2.4/m/plot/plotyy.m at line 193, column 1 > error: /usr/share/octave/3.2.4/m/plot/plotyy.m at line 111, column 1 > error: testplot at line 7, column 5 > error: /tmp/test.m at line 15, column 1 > > test.m: > 1; > > function testplot() > % copied from manual > x = 0:0.1:2*pi; > y1 = sin (x); > y2 = exp (x - 1); > ax = plotyy (x, y1, x - 1, y2, @plot, @semilogy); > xlabel ("X"); > ylabel (ax(1), "Axis 1"); > ylabel (ax(2), "Axis 2"); > endfunction > > testplot > testplot
Thanks for the report. I just tried this in a later Octave version and it doesn't seem to be there. We'll be able to close this report when we package Octave 3.4.x - Jordi G. H. -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

