comparison scripts/plot/contourf.m @ 17462:177147bf7b55

Overhaul use of __pltopt__.m to correctly check for cellstr, not just cell. * scripts/plot/private/__pltopt__.m: Use modern coding conventions. Eliminate unneeded input checking in subfunctions. Remove unused variables. * scripts/plot/contourf.m, scripts/plot/feather.m, scripts/plot/plotmatrix.m, scripts/plot/private/__bar__.m, scripts/plot/private/__quiver__.m, scripts/plot/private/__scatter__.m, scripts/plot/private/__stem__.m, scripts/plot/stairs.m: Use iscellstr, not iscell, to properly validate inputs to __pltopt__.
author Rik <rik@octave.org>
date Mon, 23 Sep 2013 08:55:19 -0700
parents 68bcac3c043a
children
comparison
equal deleted inserted replaced
17461:dea415e4216d 17462:177147bf7b55
70 endif 70 endif
71 unwind_protect 71 unwind_protect
72 hax = newplot (hax); 72 hax = newplot (hax);
73 73
74 [ctmp, htmp] = __contour__ (hax, "none", "fill", "on", 74 [ctmp, htmp] = __contour__ (hax, "none", "fill", "on",
75 "linecolor", "black", varargin{:}); 75 "linecolor", "black", varargin{:});
76 unwind_protect_cleanup 76 unwind_protect_cleanup
77 if (! isempty (oldfig)) 77 if (! isempty (oldfig))
78 set (0, "currentfigure", oldfig); 78 set (0, "currentfigure", oldfig);
79 endif 79 endif
80 end_unwind_protect 80 end_unwind_protect