comparison scripts/plot/semilogyerr.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 5389a52df87b
children a8ce6bdecce5
comparison
equal deleted inserted replaced
10594:4b421123fd17 10595:46c8ecc4d565
57 unwind_protect_cleanup 57 unwind_protect_cleanup
58 axes (oldh); 58 axes (oldh);
59 end_unwind_protect 59 end_unwind_protect
60 60
61 endfunction 61 endfunction
62
63 %!demo
64 %! x = 0.25:0.25:10;
65 %! y = wblpdf (x, 4, 2);
66 %! eyu = rand (size (y));
67 %! eyl = 1.0 - 1./(1+eyu);
68 %! semilogyerr (x, y, eyl.*y, eyu.*y, "~-d")
69 %! xlim ([0 10])
70