How to label each datapoint in a box plot ?

I have a grouped box plot with 27 boxplots..
I want to label only the outliers in each boxplot...
Can anyone help ?

답변 (1개)

Walter Roberson
Walter Roberson 2014년 3월 14일

0 개 추천

scatter() or plot() to draw the points in. text() to put in the labels.
boxplot() creates a series of line objects and some text objects. It is possible, with some experimentation, to figure out which of the objects correspond to outliers, and then use text() to add labels to them. I recall that I figured out the sequence of elements at one point in the past. Unfortunately I do not have access to the stats toolbox now and so cannot recreate the analysis.

카테고리

도움말 센터File Exchange에서 Axis Labels에 대해 자세히 알아보기

질문:

2014년 3월 14일

답변:

2014년 3월 14일

Community Treasure Hunt

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

Start Hunting!

Translated by