comparison scripts/plot/draw/area.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 bd51beb6205e
children 376ecc6794e4
comparison
equal deleted inserted replaced
28594:6e8d14f4fb2f 28595:4deb794d85e2
204 function update_prop (h, ~, prop) 204 function update_prop (h, ~, prop)
205 kids = get (h, "children"); 205 kids = get (h, "children");
206 set (kids, prop, get (h, prop)); 206 set (kids, prop, get (h, prop));
207 endfunction 207 endfunction
208 208
209 function move_baseline (h, d) 209 function move_baseline (h, ~)
210 persistent recursion = false; 210 persistent recursion = false;
211 211
212 ## Don't allow recursion 212 ## Don't allow recursion
213 if (! recursion) 213 if (! recursion)
214 unwind_protect 214 unwind_protect
222 if (b1 != b0) 222 if (b1 != b0)
223 set (hh, "basevalue", b0); 223 set (hh, "basevalue", b0);
224 endif 224 endif
225 endif 225 endif
226 endfor 226 endfor
227 update_data (h, d); 227 update_data (h, []);
228 unwind_protect_cleanup 228 unwind_protect_cleanup
229 recursion = false; 229 recursion = false;
230 end_unwind_protect 230 end_unwind_protect
231 endif 231 endif
232 232
233 endfunction 233 endfunction
234 234
235 function update_data (h, d) 235 function update_data (h, ~)
236 236
237 hlist = get (h, "areagroup"); 237 hlist = get (h, "areagroup");
238 bv = get (h, "basevalue"); 238 bv = get (h, "basevalue");
239 for i = 1 : length (hlist) 239 for i = 1 : length (hlist)
240 hh = hlist(i); 240 hh = hlist(i);