K_shadedErrorBar()

버전 1.0.0.0 (3.46 KB) 작성자: Kouichi Nakamura
K_shadedErrorBar is a MATLAB function for adding shaded error bar to your plot
다운로드 수: 171
업데이트 날짜: 2015/12/22

라이선스 보기

h = K_shadedErrorBar(x,meanval,err)
h = K_shadedErrorBar(x,meanval,err,facecolor)
h = K_shadedErrorBar(x,meanval,err,facecolor,edgecolor)
h = K_shadedErrorBar(axh, _____)
h = K_shadedErrorBar(______, 'Name',Value)

INPUT ARGUMENTS
x x axis values in a vector

meanval The mean value for y axis in a vector

err The error range for y axis in a vector, typically standard
deviation or standard error of means

x, meanval, and err must have the same size.

OPTIONS
facecolor FaceColor property of the patch object.
By default it uses color that is specified by ColorOrder and
ColorOrderIndex propertis of axes (R2014b or later), or 'k'
(earlier releases).

edgecolor EdgeColor property of the patch object. By default it is
set to 'none'

OPTINAL PARAMETER/VALUE PAIRS

'FaceAlpha' FaceColor property of the patch object.
Default is 0.5.

'Params' A row vector of cell array containing property names and values for patch object.

e.g. 'params', {'FaceAlpha',0.3,'EdgeAlpha',0.3}

OUTPUT ARGUEMENTS
h Graphic handle of the patch object

EXAMPLE

x % values for x axis
meanval % mean values for y axis
err % error range (std or sem) for y axis

hpatch = K_shadedErrorBar(x,meanval,err,'b');
hlin = line(x,meanval,'Color','b');

Writteny by
Kouichi C. Nakamura, Ph.D
Dept Morhological Brain Science
Kyoto University, Kyoto, Japan
kouichi.c.nakamura@gmail.com

인용 양식

Kouichi Nakamura (2024). K_shadedErrorBar() (https://www.mathworks.com/matlabcentral/fileexchange/54603-k_shadederrorbar), MATLAB Central File Exchange. 검색됨 .

MATLAB 릴리스 호환 정보
개발 환경: R2014b
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux
카테고리
Help CenterMATLAB Answers에서 Annotations에 대해 자세히 알아보기
태그 태그 추가
도움

줌: superbar

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
버전 게시됨 릴리스 정보
1.0.0.0

minor
minor