David,
I see a problem that appears to might be related to jwe's swtich to
column vectors for handles.
For plotyy please try the demo below. It is the same as the one in
plotyy with "subplot(221)" added as the first line.
%!demo
%! subplot(211)
%! 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");
Using jwe's archive I get
error: get: invalid handle (= 3.42134e+180)
error: called from:
error:
/Users/bpabbott/Development/mercurial/octave-3.1.51/scripts/plot/__go_draw_axes__.m
at line 1314, column 9
error:
/Users/bpabbott/Development/mercurial/octave-3.1.51/scripts/plot/__go_draw_axes__.m
at line 271, column 8
error:
/Users/bpabbott/Development/mercurial/octave-3.1.51/scripts/plot/__go_draw_figure__.m
at line 59, column 8
error:
/Users/bpabbott/Development/mercurial/octave-3.1.51/scripts/plot/gnuplot_drawnow.m
at line 68, column 5
The problems do not end there
octave:6> clf
error: delete: invalid graphics object (= -16.9272)
error: called from:
error:
/Users/bpabbott/Development/mercurial/octave-3.1.51/scripts/miscellaneous/delete.m
at line 40, column 1
error:
/Users/bpabbott/Development/mercurial/octave-3.1.51/scripts/plot/clf.m
at line 37, column 9
Notice this second error references a different handle.
I also notice that the xlabe("X") command changes the orientation of the
children for the axis from a column vector to a row vector. For the row
vector the second element is invalid.
btw, my response to this is rather quick because I was coincidentally
working on plotyy as well. My effort was to get it to work with subplot.
Ben