Mercurial > hg > octave-nkf
diff scripts/plot/slice.m @ 14089:9c36b3b7c818 stable
slice.m: Add clf() to demos.
author | Ben Abbott <bpabbott@mac.com> |
---|---|
date | Wed, 21 Dec 2011 19:19:39 -0500 |
parents | 41511cce0488 |
children | 72c96de7a403 |
line wrap: on
line diff
--- a/scripts/plot/slice.m +++ b/scripts/plot/slice.m @@ -182,11 +182,13 @@ %!demo +%! clf %! [x, y, z] = meshgrid (linspace (-8, 8, 32)); %! v = sin (sqrt (x.^2 + y.^2 + z.^2)) ./ (sqrt (x.^2 + y.^2 + z.^2)); %! slice (x, y, z, v, [], 0, []); %!demo +%! clf %! [x, y, z] = meshgrid (linspace (-8, 8, 32)); %! v = sin (sqrt (x.^2 + y.^2 + z.^2)) ./ (sqrt (x.^2 + y.^2 + z.^2)); %! [xi, yi] = meshgrid (linspace (-7, 7));