diff scripts/plot/shading.m @ 8765:cf2163418140

Trivial change to shading.m and surfl.m demos.
author Ben Abbott <bpabbott@mac.com>
date Mon, 16 Feb 2009 13:31:44 -0500
parents 5dd06f19e9be
children eb63fbe60fab
line wrap: on
line diff
--- a/scripts/plot/shading.m
+++ b/scripts/plot/shading.m
@@ -74,19 +74,23 @@
 endfunction
 
 %!demo
-%! figure(1); clf
+%! clf
+%! colormap (jet)
 %! sombrero
 %! shading faceted
 %! title('shading "faceted"')
-%! figure(2); clf
+
+%!demo
 %! sombrero
 %! shading interp
 %! title('shading "interp"')
-%! figure (3); clf
+
+%!demo
 %! pcolor (peaks ())
 %! shading faceted
 %! title('shading "faceted"')
-%! figure (4); clf
+
+%!demo
 %! pcolor (peaks ())
 %! shading interp
 %! title('shading "interp"')