Mercurial > hg > octave-lyh
diff scripts/plot/semilogx.m @ 14316:0216b5d6c80c stable
semilogx.m: Correct incorrectly coded %!test.
* semilogx.m: Correct incorrectly coded %!test.
author | Rik <octave@nomad.inbox5.com> |
---|---|
date | Thu, 02 Feb 2012 10:08:35 -0800 (2012-02-02) |
parents | 72c96de7a403 |
children | ec99c8c185be |
line wrap: on
line diff
--- a/scripts/plot/semilogx.m +++ b/scripts/plot/semilogx.m @@ -112,11 +112,11 @@ %!test %! hf = figure ("visible", "off"); %! unwind_protect -%! a = logspace (-5, 1, 10); -%! b =-logspace (-5, 1, 10); +%! a =-logspace (-5, 1, 10); +%! b = logspace (-5, 1, 10); %! semilogx (a, b); %! axis tight; -%! assert (all (get (gca, "ytick") < 0)); +%! assert (all (get (gca, "xtick") < 0)); %! unwind_protect_cleanup %! close (hf); %! end_unwind_protect