Mercurial > hg > octave-nkf
comparison scripts/plot/ezplot.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 | b0cdd60db5e5 |
children | 72c96de7a403 |
comparison
equal
deleted
inserted
replaced
14091:c3ea07298af4 | 14092:22c50cbad2ce |
---|---|
79 endif | 79 endif |
80 endfunction | 80 endfunction |
81 | 81 |
82 | 82 |
83 %!demo | 83 %!demo |
84 %! clf | |
84 %! ezplot (@cos, @sin) | 85 %! ezplot (@cos, @sin) |
85 | 86 |
86 %!demo | 87 %!demo |
88 %! clf | |
87 %! ezplot ("1/x") | 89 %! ezplot ("1/x") |
88 | 90 |
89 %!demo | 91 %!demo |
92 %! clf | |
90 %! ezplot (inline ("x^2 - y^2 = 1")) | 93 %! ezplot (inline ("x^2 - y^2 = 1")) |
91 | 94 |