Mercurial > hg > octave-lyh
comparison scripts/plot/semilogxerr.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 | f2c080bbd8a5 |
children | 72c96de7a403 |
comparison
equal
deleted
inserted
replaced
14091:c3ea07298af4 | 14092:22c50cbad2ce |
---|---|
59 end_unwind_protect | 59 end_unwind_protect |
60 | 60 |
61 endfunction | 61 endfunction |
62 | 62 |
63 %!demo | 63 %!demo |
64 %! clf | |
64 %! x = exp (log(0.01):0.2:log(10)); | 65 %! x = exp (log(0.01):0.2:log(10)); |
65 %! y = wblpdf (x, 2, 2); | 66 %! y = wblpdf (x, 2, 2); |
66 %! ey = 0.5*rand (size (y)) .* y; | 67 %! ey = 0.5*rand (size (y)) .* y; |
67 %! semilogxerr (x, y, ey, "#~x-") | 68 %! semilogxerr (x, y, ey, "#~x-") |
68 %! xlim (x([1, end])) | 69 %! xlim (x([1, end])) |