plotyy.m is not robust. an error occurs depending on figure with axes is already opened or not. here is a patch that should solve the problem.
*** old/plotyy.m 2009-06-12 13:25:50.000000000 +0200 --- new/plotyy.m 2009-06-12 13:25:11.000000000 +0200 *************** *** 72,82 **** endif else f = get (0, "currentfigure"); ! if (isempty (f)) ax(1) = axes (); ax(2) = axes (); else - ax = get (f, "children"); for i = 3 : length (ax) delete (ax (i)); endfor --- 72,85 ---- endif else f = get (0, "currentfigure"); ! if isempty(f) ! figure; ! endif ! ax = get (f, "children"); ! if length(ax) < 2 ax(1) = axes (); ax(2) = axes (); else for i = 3 : length (ax) delete (ax (i)); endfor -- View this message in context: http://www.nabble.com/patch-for-plotyy.m-tp23997146p23997146.html Sent from the octave-dev mailing list archive at Nabble.com. ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ Octave-dev mailing list Octave-dev@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/octave-dev