comparison doc/interpreter/plot.txi @ 21156:80b69efcd960

maint: Periodic merge of stable to default.
author Rik <rik@octave.org>
date Sat, 30 Jan 2016 08:22:36 -0800
parents dba88797f69f 8b1e030d3d4f
children e5fd5bc5fd90
comparison
equal deleted inserted replaced
21154:36b27fac6bc9 21156:80b69efcd960
175 175
176 @example 176 @example
177 @group 177 @group
178 x = 0:0.1:10; 178 x = 0:0.1:10;
179 y = sin (x); 179 y = sin (x);
180 yp = 0.1 .* randn (size (x)); 180 lerr = 0.1 .* rand (size (x));
181 ym = -0.1 .* randn (size (x)); 181 uerr = 0.1 .* rand (size (x));
182 errorbar (x, sin (x), ym, yp); 182 errorbar (x, y, lerr, uerr);
183 @end group 183 @end group
184 @end example 184 @end example
185 185
186 @noindent 186 @noindent
187 produces the figure shown in @ref{fig:errorbar}. 187 produces the figure shown in @ref{fig:errorbar}.