diff scripts/plot/semilogy.m @ 13090:7f127e079a7c

codesprint: demos for semilogx, semilogy, and loglog * semilogx.m, semilogy.m, loglog.m: New demos.
author John W. Eaton <jwe@octave.org>
date Sat, 03 Sep 2011 18:46:09 -0400
parents c792872f8942
children 2e2738837a24
line wrap: on
line diff
--- a/scripts/plot/semilogy.m
+++ b/scripts/plot/semilogy.m
@@ -60,3 +60,11 @@
   end_unwind_protect
 
 endfunction
+
+%!demo
+%! x = 1:0.01:10;
+%! y = (x .* (1 + rand (size (x)))) .^ 2;
+%! semilogy (x, y);
+
+## Remove from test statistics.  No real tests possible.
+%!assert (1)