Mercurial > octave-nkf
comparison scripts/plot/errorbar.m @ 10589:b6364a88de06
errorbar.m: Add demoss.
author | Ben Abbott <bpabbott@mac.com> |
---|---|
date | Thu, 29 Apr 2010 07:11:46 -0400 |
parents | 16f53d29049f |
children | eca2af8a92bc |
comparison
equal
deleted
inserted
replaced
10588:c1111769f595 | 10589:b6364a88de06 |
---|---|
136 %!demo | 136 %!demo |
137 %! errorbar(0:10,rand(1,11),0.25*rand(1,11)) | 137 %! errorbar(0:10,rand(1,11),0.25*rand(1,11)) |
138 | 138 |
139 %!demo | 139 %!demo |
140 %! errorbar(0:10,rand(1,11),rand(1,11), ">") | 140 %! errorbar(0:10,rand(1,11),rand(1,11), ">") |
141 | |
142 %!demo | |
143 %! x = 0:0.5:2*pi; | |
144 %! err = x/100; | |
145 %! y1 = sin (x); | |
146 %! y2 = cos (x); | |
147 %! hg = errorbar (x, y1, err, "~", x, y2, err, ">"); | |
148 | |
149 %!demo | |
150 %! x = 0:0.5:2*pi; | |
151 %! err = x/100; | |
152 %! y1 = sin (x); | |
153 %! y2 = cos (x); | |
154 %! hg = errorbar (x, y1, err, err, "#", x, y2, err, err, "#~"); | |
155 | |
156 %!demo | |
157 %! x = 0:0.5:2*pi; | |
158 %! err = x/100; | |
159 %! y1 = sin (x); | |
160 %! y2 = cos (x); | |
161 %! hg = errorbar (x, y1, err, err, err, err, "~>", ... | |
162 %! x, y2, err, err, err, err, "#~>"); | |
163 |