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.
Download pdf.