Mercurial > hg > octave-nkf
changeset 17068:140d50ed8f22
imported patch plotyy
author | Rik <rik@octave.org> |
---|---|
date | Wed, 24 Jul 2013 23:12:46 -0700 |
parents | b2cbf369837e |
children | 1cbdd14711c5 |
files | scripts/plot/plotyy.m |
diffstat | 1 files changed, 3 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/scripts/plot/plotyy.m +++ b/scripts/plot/plotyy.m @@ -171,7 +171,9 @@ set (ax, "activepositionproperty", "position"); endif - h2 = feval (fun2, x2, y2); + ## Kluge, until __plt_get_axis_arg__ and newplot are reworked. + set (ax(2), "nextplot", "replacechildren"); + h2 = feval (fun2, ax(2), x2, y2); set (ax(2), "yaxislocation", "right"); set (ax(2), "ycolor", getcolor (h2(1)));