diff scripts/plot/fplot.m @ 17026:be52288f827b

Tweak some plotting demos for messages and spelling. * scripts/plot/axis.m: Correct typo "p" -> "pi"; * scripts/plot/fplot.m: Change sinc function definition to put constant "pi" first. * scripts/plot/stemleaf.m: Fix failing demo missing caption argument.
author Rik <rik@octave.org>
date Sat, 20 Jul 2013 18:46:38 -0700
parents a7c9be4a2c0f
children eaab03308c0b
line wrap: on
line diff
--- a/scripts/plot/fplot.m
+++ b/scripts/plot/fplot.m
@@ -180,7 +180,7 @@
 %!demo
 %! clf;
 %! ## sinc function
-%! fh = @(x) sin (x*pi) ./ (x*pi);
+%! fh = @(x) sin (pi*x) ./ (pi*x);
 %! fplot (fh, [-5, 5]);
 
 %!test