diff scripts/plot/quiver3.m @ 8889:665b264b6a50

Compatible support of figure paper properties and resolution for the gnuplot backend.
author Ben Abbott <bpabbott@mac.com>
date Sat, 28 Feb 2009 19:36:09 -0500
parents 873ea2c72f16
children eb63fbe60fab
line wrap: on
line diff
--- a/scripts/plot/quiver3.m	Fri Feb 27 15:43:43 2009 -0500
+++ b/scripts/plot/quiver3.m	Sat Feb 28 19:36:09 2009 -0500
@@ -85,6 +85,8 @@
 endfunction
 
 %!demo
+%! clf
+%! colormap (jet (64))
 %! [x,y]=meshgrid (-1:0.1:1); 
 %! z=sin(2*pi*sqrt(x.^2+y.^2)); 
 %! theta=2*pi*sqrt(x.^2+y.^2)+pi/2;
@@ -94,6 +96,7 @@
 %! hold off;
 
 %!demo
+%! clf
 %! [x, y, z] = peaks (25);
 %! surf (x, y, z);
 %! hold on;
@@ -101,3 +104,7 @@
 %! h = quiver3 (x, y, z, u, v, w);
 %! set (h, "maxheadsize", 0.33);
 %! hold off;
+
+%!demo
+%! shading interp
+