Mercurial > octave-nkf
diff scripts/plot/semilogxerr.m @ 10595:46c8ecc4d565
Add demos to loglogerr.m, semilogxerr.m, & semilogyerr.m
author | Ben Abbott <bpabbott@mac.com> |
---|---|
date | Fri, 30 Apr 2010 19:08:55 -0400 |
parents | 16f53d29049f |
children | a8ce6bdecce5 |
line wrap: on
line diff
--- a/scripts/plot/semilogxerr.m Fri Apr 30 18:28:21 2010 -0400 +++ b/scripts/plot/semilogxerr.m Fri Apr 30 19:08:55 2010 -0400 @@ -60,3 +60,10 @@ end_unwind_protect endfunction + +%!demo +%! x = exp (log(0.01):0.2:log(10)); +%! y = wblpdf (x, 2, 2); +%! ey = 0.5*rand (size (y)) .* y; +%! semilogxerr (x, y, ey, "#~x-") +%! xlim (x([1, end]))