Mercurial > jwe > octave
diff scripts/general/interpn.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 | 11949c9795a0 |
children | 7277fe922e99 |
line wrap: on
line diff
--- a/scripts/general/interpn.m Sun Jan 22 07:43:20 2012 -0800 +++ b/scripts/general/interpn.m Sun Jan 22 10:02:27 2012 -0800 @@ -212,6 +212,7 @@ %!demo %! clf; +%! colormap ("default"); %! A = [13,-1,12;5,4,3;1,6,2]; %! x = [0,1,4]; y = [10,11,12]; %! xi = linspace (min(x), max(x), 17); @@ -222,6 +223,7 @@ %!demo %! clf; +%! colormap ("default"); %! A = [13,-1,12;5,4,3;1,6,2]; %! x = [0,1,4]; y = [10,11,12]; %! xi = linspace (min(x), max(x), 17); @@ -232,6 +234,7 @@ %!#demo # FIXME: Uncomment when support for "cubic" has been added %! clf; +%! colormap ("default"); %! A = [13,-1,12;5,4,3;1,6,2]; %! x = [0,1,2]; y = [10,11,12]; %! xi = linspace (min(x), max(x), 17); @@ -242,6 +245,7 @@ %!demo %! clf; +%! colormap ("default"); %! A = [13,-1,12;5,4,3;1,6,2]; %! x = [0,1,2]; y = [10,11,12]; %! xi = linspace (min(x), max(x), 17); @@ -252,6 +256,7 @@ %!demo %! clf; +%! colormap ("default"); %! x = y = z = -1:1; %! f = @(x,y,z) x.^2 - y - z.^2; %! [xx, yy, zz] = meshgrid (x, y, z);