Mercurial > hg > octave-lojdl
changeset 10589:b6364a88de06
errorbar.m: Add demoss.
author | Ben Abbott <bpabbott@mac.com> |
---|---|
date | Thu, 29 Apr 2010 07:11:46 -0400 |
parents | c1111769f595 |
children | 083e4f6143fe |
files | scripts/ChangeLog scripts/plot/errorbar.m |
diffstat | 2 files changed, 27 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/scripts/ChangeLog +++ b/scripts/ChangeLog @@ -1,3 +1,7 @@ +2010-04-29 Ben Abbott <bpabbott@mac.com> + + * plot/errorbar.m: Add demoss. + 2010-04-27 David Bateman <dbateman@free.fr> * plot/private/__errplot__.m: Update the marker in a seperate
--- a/scripts/plot/errorbar.m +++ b/scripts/plot/errorbar.m @@ -138,3 +138,26 @@ %!demo %! errorbar(0:10,rand(1,11),rand(1,11), ">") + +%!demo +%! x = 0:0.5:2*pi; +%! err = x/100; +%! y1 = sin (x); +%! y2 = cos (x); +%! hg = errorbar (x, y1, err, "~", x, y2, err, ">"); + +%!demo +%! x = 0:0.5:2*pi; +%! err = x/100; +%! y1 = sin (x); +%! y2 = cos (x); +%! hg = errorbar (x, y1, err, err, "#", x, y2, err, err, "#~"); + +%!demo +%! x = 0:0.5:2*pi; +%! err = x/100; +%! y1 = sin (x); +%! y2 = cos (x); +%! hg = errorbar (x, y1, err, err, err, err, "~>", ... +%! x, y2, err, err, err, err, "#~>"); +