# HG changeset patch # User Rik # Date 1511456276 28800 # Node ID e24bf08dc55976556a6ad199b4b27d6cacd11dfc # Parent f52d91f6ef80ff7d8f838127cc28393fcb40aced 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). diff -r f52d91f6ef80 -r e24bf08dc559 scripts/plot/draw/plotyy.m --- 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);