Mercurial > hg > octave-lyh
diff scripts/plot/ellipsoid.m @ 17487:f0f4b524b6d0
maint: Correct indentation for several plot routines.
* scripts/plot/ellipsoid.m, scripts/plot/rose.m, scripts/plot/sphere.m,
scripts/plot/surfnorm.m: maint: Correct indentation for several plot routines.
author | Rik <rik@octave.org> |
---|---|
date | Wed, 25 Sep 2013 07:48:58 -0700 |
parents | 68bcac3c043a |
children |
line wrap: on
line diff
--- a/scripts/plot/ellipsoid.m +++ b/scripts/plot/ellipsoid.m @@ -74,10 +74,10 @@ yy = y; zz = z; else - oldfig = []; - if (! isempty (hax)) - oldfig = get (0, "currentfigure"); - endif + oldfig = []; + if (! isempty (hax)) + oldfig = get (0, "currentfigure"); + endif unwind_protect hax = newplot (hax);