Mercurial > octave-nkf
comparison 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 |
comparison
equal
deleted
inserted
replaced
10594:4b421123fd17 | 10595:46c8ecc4d565 |
---|---|
58 unwind_protect_cleanup | 58 unwind_protect_cleanup |
59 axes (oldh); | 59 axes (oldh); |
60 end_unwind_protect | 60 end_unwind_protect |
61 | 61 |
62 endfunction | 62 endfunction |
63 | |
64 %!demo | |
65 %! x = exp (log(0.01):0.2:log(10)); | |
66 %! y = wblpdf (x, 2, 2); | |
67 %! ey = 0.5*rand (size (y)) .* y; | |
68 %! semilogxerr (x, y, ey, "#~x-") | |
69 %! xlim (x([1, end])) |