diff scripts/plot/scatter.m @ 10701:657e63dcfd88

scatter.m: Properly set default value markersize and marker type.
author Ben Abbott <bpabbott@mac.com>
date Sat, 12 Jun 2010 20:35:04 -0400
parents da51afafca80
children be55736a0783
line wrap: on
line diff
--- a/scripts/plot/scatter.m	Sat Jun 12 12:55:03 2010 -0400
+++ b/scripts/plot/scatter.m	Sat Jun 12 20:35:04 2010 -0400
@@ -96,3 +96,15 @@
 %! s = 10 - 10 * log (x.^2+y.^2);
 %! h = scatter (x, y, s, s, "s", "filled");
 
+%!demo
+%! x = rand (10, 1);
+%! y = rand (10, 1);
+%! s = 10 - 10 * log (x.^2+y.^2);
+%! h = scatter (x, y, [], "r", "s", "filled");
+
+%!demo
+%! x = rand (10, 1);
+%! y = rand (10, 1);
+%! s = 10 - 10 * log (x.^2+y.^2);
+%! h = scatter (x, y, [], "r", "s");
+