Statistical significance line

버전 1.0.1 (2.07 KB) 작성자: bethel o
SIGLINE plots a line of statistical significance on the current axis
다운로드 수: 2.2K
업데이트 날짜: 2018/7/24

라이선스 보기

SIGLINE plots a line of statistical significance on the current axis
sigline(xs) plots a significance line between the value in the 2D
vector xs along the x-coordinate.

sigline(xs,lbl) places a text lbl beside the significance line.

sigline(xs,lbl,h) attempts to plot the significance line above a
highest value in a graphics object with handle h. If h is not a
graphics handle, the line will be plotted above the value of h.

sigline(xs,...,vy) give a way to specify that the line be plotted above
vy which should not be assumed to be a graphics object. This is
optional and overrides h; but probaly won't ever be needed. The vy is a
value on the y-axis above which the sig line is plotted. It is only
useful for a possibly, rare occurance of a given y in h unwantedly
matching a graphic object in value.

Examples #1: Plot 5 random points and add a significance line between
point 2 and 4.
plot(rand(5,1))
sigline([2,4])

Examples #3: Plot 5 random points as bar chart and add a significance
line between point 2 and 3 and print p=0.05 beside it.
bar(rand(5,1))
sigline([2,3],'p=0.05')

Examples #4: Plot 5 random points and add a significance line between
point 2 and 4 and specify the handle to be used to obtaine the value
above which the line will be plotted.
h=plot(rand(5,1))
sigline([2,4],[],h)

Examples #5: Plot 5 random points and add a significance line between
point 2 and 4 and a value above which the line will be plotted.
plot(rand(5,1))
sigline([2,4],[],0.9)

인용 양식

bethel o (2024). Statistical significance line (https://www.mathworks.com/matlabcentral/fileexchange/68314-statistical-significance-line), MATLAB Central File Exchange. 검색 날짜: .

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

Community Treasure Hunt

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

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

Updated the description.

1.0.0