Mercurial > octave
changeset 24292:e24bf08dc559 stable
plotyy.m: Fix error when using FUN2 argument (bug #48115)
* plotyy.m: Change feval to call FUN2 (x,y, ...) rather than FUN2 (hax2, x, y).
author | Rik <rik@octave.org> |
---|---|
date | Thu, 23 Nov 2017 08:57:56 -0800 |
parents | f52d91f6ef80 |
children | 7c5dbc54a899 793779033e2c |
files | scripts/plot/draw/plotyy.m |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/scripts/plot/draw/plotyy.m Tue Nov 21 17:49:18 2017 -0800 +++ b/scripts/plot/draw/plotyy.m Thu Nov 23 08:57:56 2017 -0800 @@ -131,7 +131,7 @@ if (strcmp (get (ax(1), "nextplot"), "replace")) set (ax(2), "nextplot", "replacechildren"); endif - h2 = feval (fun2, ax(2), x2, y2); + h2 = feval (fun2, x2, y2); set (ax(2), "yaxislocation", "right", "color", "none", "ycolor", getcolor (h2(1)), "box", "off", "xlim", xlim);