Mercurial > hg > octave-lyh
comparison scripts/plot/surfc.m @ 17309:68bcac3c043a
Correct inversion accidentally introduced in cset 87ba70043bfc.
* scripts/plot/area.m, scripts/plot/axis.m, scripts/plot/caxis.m,
scripts/plot/comet.m, scripts/plot/comet3.m, scripts/plot/compass.m,
scripts/plot/contour.m, scripts/plot/contour3.m, scripts/plot/contourf.m,
scripts/plot/cylinder.m, scripts/plot/ellipsoid.m, scripts/plot/errorbar.m,
scripts/plot/feather.m, scripts/plot/fill.m, scripts/plot/loglog.m,
scripts/plot/loglogerr.m, scripts/plot/mesh.m, scripts/plot/meshc.m,
scripts/plot/meshz.m, scripts/plot/pcolor.m, scripts/plot/pie.m,
scripts/plot/pie3.m, scripts/plot/plot.m, scripts/plot/plot3.m,
scripts/plot/polar.m, scripts/plot/private/__bar__.m,
scripts/plot/private/__ezplot__.m, scripts/plot/private/__stem__.m,
scripts/plot/quiver.m, scripts/plot/quiver3.m, scripts/plot/rectangle.m,
scripts/plot/ribbon.m, scripts/plot/rose.m, scripts/plot/scatter.m,
scripts/plot/scatter3.m, scripts/plot/semilogx.m, scripts/plot/semilogxerr.m,
scripts/plot/semilogy.m, scripts/plot/semilogyerr.m, scripts/plot/slice.m,
scripts/plot/sphere.m, scripts/plot/stairs.m, scripts/plot/surf.m,
scripts/plot/surfc.m, scripts/plot/surfl.m, scripts/plot/surfnorm.m,
scripts/time/datetick.m: check for (! isempty (hax)) before saving
current figure.
author | Rik <rik@octave.org> |
---|---|
date | Tue, 20 Aug 2013 22:23:43 -0700 |
parents | bc924baa2c4e |
children | b81b9d079515 |
comparison
equal
deleted
inserted
replaced
17308:d858e02f2a62 | 17309:68bcac3c043a |
---|---|
63 if (nargin < 1) | 63 if (nargin < 1) |
64 print_usage (); | 64 print_usage (); |
65 endif | 65 endif |
66 | 66 |
67 oldfig = []; | 67 oldfig = []; |
68 if (isempty (hax)) | 68 if (! isempty (hax)) |
69 oldfig = get (0, "currentfigure"); | 69 oldfig = get (0, "currentfigure"); |
70 endif | 70 endif |
71 unwind_protect | 71 unwind_protect |
72 hax = newplot (hax); | 72 hax = newplot (hax); |
73 | 73 |