Mercurial > hg > octave-nkf
diff scripts/plot/clabel.m @ 14247:c4fa5e0b6193
test: Make surface demos reproducible by setting colormap to default at start of demo.
* bicubic.m, interp2.m, interpn.m, griddata.m, image.m, axis.m, clabel.m,
colorbar.m, contour.m, contourf.m, cylinder.m, ezcontour.m, ezcontourf.m,
ezmesh.m, ezmeshc.m, ezsurf.m, ezsurfc.m, hold.m, pcolor.m, plotyy.m,
quiver3.m, ribbon.m, shading.m, slice.m, sombrero.m, surf.m, surfc.m,
surfnorm.m, trisurf.m: Set colormap to default at start of demos to
make them reproducible.
author | Rik <octave@nomad.inbox5.com> |
---|---|
date | Sun, 22 Jan 2012 10:02:27 -0800 |
parents | 4506eade9f04 |
children | ce2b59a6d0e5 |
line wrap: on
line diff
--- a/scripts/plot/clabel.m +++ b/scripts/plot/clabel.m @@ -133,11 +133,13 @@ %!demo %! clf; +%! colormap ('default'); %! [c, h] = contour (peaks (), -4:6); %! clabel (c, h, -4:2:6, 'fontsize', 12); %!demo %! clf; +%! colormap ('default'); %! [c, h] = contourf (peaks (), -7:6); %! clabel (c, h, -6:2:6, 'fontsize', 12);