Mercurial > hg > octave-nkf
comparison scripts/plot/ellipsoid.m @ 17476: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 |
comparison
equal
deleted
inserted
replaced
17475:25f6e31bbce9 | 17476:f0f4b524b6d0 |
---|---|
72 if (nargout > 0) | 72 if (nargout > 0) |
73 xx = x; | 73 xx = x; |
74 yy = y; | 74 yy = y; |
75 zz = z; | 75 zz = z; |
76 else | 76 else |
77 oldfig = []; | 77 oldfig = []; |
78 if (! isempty (hax)) | 78 if (! isempty (hax)) |
79 oldfig = get (0, "currentfigure"); | 79 oldfig = get (0, "currentfigure"); |
80 endif | 80 endif |
81 unwind_protect | 81 unwind_protect |
82 hax = newplot (hax); | 82 hax = newplot (hax); |
83 | 83 |
84 surf (x, y, z); | 84 surf (x, y, z); |
85 unwind_protect_cleanup | 85 unwind_protect_cleanup |