# HG changeset patch # User Kai Habel # Date 1310844408 -7200 # Node ID e3e6079039c64850ef880e06078f6588b275b59a # Parent cd59f52719418ea79000f06fd34255127ca1a73f codesprint: 2 demos for pcolor.m dummy for surface.m diff --git a/scripts/plot/pcolor.m b/scripts/plot/pcolor.m --- a/scripts/plot/pcolor.m +++ b/scripts/plot/pcolor.m @@ -80,3 +80,14 @@ endif endfunction + +%!demo +%! clf +%! [~,~,Z]=peaks; +%! pcolor(Z); + +%!demo +%! [X,Y,Z]=sombrero; +%! [Fx,Fy] = gradient(Z); +%! pcolor(X,Y,Fx+Fy); +%! shading interp; diff --git a/scripts/plot/surface.m b/scripts/plot/surface.m --- a/scripts/plot/surface.m +++ b/scripts/plot/surface.m @@ -155,3 +155,5 @@ endif endfunction + +%!assert (1) \ No newline at end of file