comparison scripts/plot/appearance/private/__gnuplot_legend__.m @ 28595:4deb794d85e2

Resolve further number of argument mismatch in graphics callbacks (bug #58821) * legend.m, __gnuplot_legend__.m, area.m, colorbar.m, plotmatrix.m, __gnuplot_scatter__.m, subplot.m: Add missing second input '~' to graphics callback functions.
author Rik <rik@octave.org>
date Fri, 24 Jul 2020 10:49:44 -0700
parents 1379ebcb00c3
children b81238f3ecdb
comparison
equal deleted inserted replaced
28594:6e8d14f4fb2f 28595:4deb794d85e2
1239 endfor 1239 endfor
1240 1240
1241 endfunction 1241 endfunction
1242 1242
1243 ## The legend "location" property has changed. 1243 ## The legend "location" property has changed.
1244 function cb_legend_location (hleg, d) 1244 function cb_legend_location (hleg, [])
1245 1245
1246 ## If it isn't "none", which means manual positioning, then rebuild . 1246 ## If it isn't "none", which means manual positioning, then rebuild.
1247 if (! strcmp (get (hleg, "location"), "none")) 1247 if (! strcmp (get (hleg, "location"), "none"))
1248 cb_legend_update (hleg, d); 1248 cb_legend_update (hleg, []);
1249 endif 1249 endif
1250 1250
1251 endfunction 1251 endfunction
1252 1252
1253 ## Axes to which legend was attached is being deleted/reset. Delete legend. 1253 ## Axes to which legend was attached is being deleted/reset. Delete legend.