diff scripts/plot/trisurf.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 460a3c6d8bf1
line wrap: on
line diff
--- a/scripts/plot/trisurf.m
+++ b/scripts/plot/trisurf.m
@@ -74,6 +74,7 @@
 
 %!demo
 %! clf;
+%! colormap ('default');
 %! N = 31;
 %! [x, y] = meshgrid (1:N);
 %! tri = delaunay (x, y);
@@ -85,6 +86,7 @@
 
 %!demo
 %! clf;
+%! colormap ('default');
 %! N = 31;
 %! [x, y] = meshgrid (1:N);
 %! tri = delaunay (x, y);
@@ -96,6 +98,7 @@
 
 %!demo
 %! clf;
+%! colormap ('default');
 %! old_state = rand ('state');
 %! restore_state = onCleanup (@() rand ('state', old_state));
 %! rand ('state', 10);
@@ -108,6 +111,7 @@
 
 %!demo
 %! clf;
+%! colormap ('default');
 %! x = rand (100, 1);
 %! y = rand (100, 1);
 %! z = x.^2 + y.^2;
@@ -116,6 +120,7 @@
 
 %!demo
 %! clf;
+%! colormap ('default');
 %! x = rand (100, 1);
 %! y = rand (100, 1);
 %! z = x.^2 + y.^2;
@@ -124,6 +129,7 @@
 
 %!demo
 %! clf;
+%! colormap ('default');
 %! x = rand (100, 1);
 %! y = rand (100, 1);
 %! z = x.^2 + y.^2;