Mercurial > hg > octave-lyh
comparison scripts/plot/loglogerr.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 | fd0a3ac60b0e |
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, 3, 2); | |
67 %! eyu = 2*rand (size (y)) .* y; | |
68 %! eyl = 0.5*rand (size (y)) .* y; | |
69 %! loglogerr (x, y, eyl, eyu, "#~x-") | |
70 %! xlim (x([1, end])) | |
71 |