fn_errorbar

Contents

Syntax

hl = fn_errorbar([x,]y,ey[,flag],line options)
hl = fn_errorbar([x,]yy[,flag],line options)
hl = fn_errorbar(x,ex,y,ey,'xerror',line options)
hl = fn_errorbar(xx,yy,'xerror',line options)

Description

ym and ystd can be vectors or arrays
if e is not supplied, y and e are obtained as the mean and
std/sqrt(n) of yy along its last dimension (note that yy can also be a
cell array, to handle cases where the number of repetitions are not the
same for different conditions)
flag can be 'lines' [default], 'bar', 'thinbar', 'patch' or 'xerror'

Source

Thomas Deneux

Copyright 2006-2017