Mercurial > hg > octave-lyh
diff scripts/plot/axis.m @ 14092:22c50cbad2ce stable
Add clf() to all plot demos.
* axis.m, compass.m, contour3.m, contourf.m, cylinder.m, ellipsoid.m,
errorbar.m, ezcontour.m, ezcontourf.m, ezmesh.m, ezmeshc.m, ezplot.m,
ezplot3.m, ezpolar.m, ezsurf.m, ezsurfc.m, feather.m, fplot.m,
loglogerr.m, pcolor.m, pie.m, pie3.m, plot3.m, plotmatrix.m,
quiver.m, quiver3.m, refreshdata.m, ribbon.m, rose.m, scatter3.m,
semilogx.m, semilogxerr.m, semilogy.m, semilogyerr.m, shading.m,
sombrero.m, stairs.m, stem.m, stem3.m, surf.m, surfc.m, surfl.m,
surfnorm.m, trimesh.m, triplot.m, trisurf.m, uimenu.m:
Add clf() to the beginning of each demo to ensure pre-existing graphics
objects don't interfere with the demo.
author | Ben Abbott <bpabbott@mac.com> |
---|---|
date | Wed, 21 Dec 2011 21:19:48 -0500 |
parents | 6875d23ce051 |
children | 72c96de7a403 |
line wrap: on
line diff
--- a/scripts/plot/axis.m +++ b/scripts/plot/axis.m @@ -506,6 +506,7 @@ %! axis tight %!demo +%! clf %! x = -10:0.1:10; %! y = sin(x)./(1+abs(x)) + x*0.1 - .4; %! plot (x, y) @@ -515,6 +516,7 @@ %! box off %!demo +%! clf %! x = -10:0.1:10; %! y = sin(x)./(1+abs(x)) + x*0.1 - .4; %! plot (x, y) @@ -524,6 +526,7 @@ %! box off %!demo +%! clf %! x = -10:0.1:10; %! y = sin(x)./(1+abs(x)) + x*0.1 - .4; %! plot (x, y) @@ -533,6 +536,7 @@ %! box off %!demo +%! clf %! x = -10:0.1:10; %! y = sin(x)./(1+abs(x)) + x*0.1 - .4; %! plot (x, y) @@ -542,6 +546,7 @@ %! box off %!demo +%! clf %! x = -10:0.1:10; %! y = sin(x)./(1+abs(x)) + x*0.1 - .4; %! plot (x, y)