Mercurial > hg > octave-nkf
diff scripts/plot/axis.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 | 13a12d01aca5 |
children | 6dec8dbf8a97 |
line wrap: on
line diff
--- a/scripts/plot/axis.m +++ b/scripts/plot/axis.m @@ -486,7 +486,7 @@ %! axis ('autox'); %! %! subplot (325); -%! plot (t, x, ';sine [0:2p];'); +%! plot (t, x, ';sine [0:2pi];'); %! title ('axes at [3 6 0 1], then autoy'); %! axis ([3,6,0,1]); %! axis ('autoy'); @@ -501,7 +501,7 @@ %! x = 0:0.1:10; %! plot (x, sin(x)); %! axis image; -%! title ('image'); +%! title ({'image', 'equivalent to "tight" & "equal"'}); %!demo %! clf;