# HG changeset patch # User Ben Abbott # Date 1324513179 18000 # Node ID 9c36b3b7c81836c7c05bf0a358baa27e6f1c4c04 # Parent 9c1f630dc03d3f7e9c01abd8d79720073a6b2a58 slice.m: Add clf() to demos. diff -r 9c1f630dc03d -r 9c36b3b7c818 scripts/plot/slice.m --- a/scripts/plot/slice.m Wed Dec 21 19:13:41 2011 -0500 +++ b/scripts/plot/slice.m Wed Dec 21 19:19:39 2011 -0500 @@ -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));