Mercurial > hg > octave-nkf
changeset 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 | 75d115e329b7 |
children | e0cd6299842c |
files | scripts/plot/axis.m scripts/plot/fplot.m scripts/plot/stemleaf.m |
diffstat | 3 files changed, 4 insertions(+), 4 deletions(-) [+] |
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;