Alphabetical list Categories
qerrorbar Draw error bars
Help text:

qerrorbar(xx, yy, dy) plots error bars at (xx,yy+-dy).
Normally, xx, yy, and dy have the same shape. However, it is permissible for dy to be shaped Nx2, in which case lower and upper error bounds are different. (dy should always be positive).
qerrorbar(xx, yy, dy, w) adorns the error bars with horizontal lines of given width (w in points).
qerrorbar(..., 'up') only plots upward; qerrorbar(..., 'down') only plots downward.

Example:

qfigure('qerrorbar', 3, 3);

tt = [-pi:.5:pi]';

qmarker o solid

qmark(tt, sin(tt))

qerrorbar(tt, sin(tt), .2*cos(tt)+.3, 5);

qmarker o solid

qmark(tt, 2+sin(tt-1))

qerrorbar(tt, 2+sin(tt-1), [.3+zeros(size(tt)), .2*cos(tt)+.3]);

QPlot Documentation — (C) Daniel Wagenaar, 2014–2019