changeset 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 9c1f630dc03d
children 281ecc6fb431
files scripts/plot/slice.m
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
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));