diff scripts/plot/scatter.m @ 15974:53a2fb7b2557 stable

maint: Allow scatter demo to be run under Octave or Matlab for plot comparisons * __scatter__.m: Use columns() rather than size(c,2) for readability. * scatter.m: Use single quotes in demo code so that it will run under Matlab.
author Rik <octave@nomad.inbox5.com>
date Sun, 08 Jul 2012 11:43:30 -0700
parents d31a39a0ac77
children a0b313c17a6b
line wrap: on
line diff
--- a/scripts/plot/scatter.m
+++ b/scripts/plot/scatter.m
@@ -92,7 +92,7 @@
 %! x = randn (100, 1);
 %! y = randn (100, 1);
 %! c = x .* y;
-%! scatter (x, y, 20, c, "filled");
+%! scatter (x, y, 20, c, 'filled');
 %! title ('Scatter with colors');
 
 %!demo