plotyy fails with current graphicshandle nonempty, but having no children

David Bateman dbateman at dbateman.org
Thu Jan 15 11:18:06 CST 2009


John W. Eaton wrote:
> On 18-Nov-2008, Emil Karlson wrote:
>
> | To: bug at octave.org
> | Cc: jkarlson at cc.hut.fi
> | Subject: plotyy fails with current graphicshandle nonempty, but having no children
> | 
> | Bug report for Octave 3.0.3 configured for x86_64-pc-linux-gnu
> | 
> | Description:
> | -----------
> | 
> | a=1:7; hold on; plotyy(a,a,a,a)
> | 
> | fails
> | 
> | octave:1> a=1:7; hold on; plotyy(a,a,a,a)
> | error: invalid matrix index = 2
> | error: evaluating assignment expression near line 83, column 10
> | error: evaluating if command near line 75, column 5
> | error: evaluating if command near line 59, column 3
> | error: called from `plotyy' in file `/usr/share/octave/3.0.3/m/plot/plotyy.m'
> | 
> | Also most use cases of figure fail yyplot.
> | 
> | Fix:
> | ---
> | This at least fixes the problem for me.
>
> I can't duplicate this problem with the current sources, so I think
> it has been fixed.
>
> Thanks,
>
>   
Basically plotyy can't be written correctly without handle listeners 
that only exist in 3.1.x, so I don't think there is any fix for 3.0.x

D.


-- 
David Bateman                                dbateman at dbateman.org
35 rue Gambetta                              +33 1 46 04 02 18 (Home)
92100 Boulogne-Billancourt FRANCE            +33 6 72 01 06 33 (Mob)



More information about the Bug-octave mailing list