Open
Description
In boxplot
there is a parameter positions
to put the boxes at specified locations. For example
data=[randn(50, 1); randn(60, 1) + 1; randn(70, 1) + 2; randn(80, 1) + 3; randn(90, 1) + 4]
group=[ones(50, 1); ones(60,1)+1; ones(70,1)+2; ones(80,1)+3; ones(90,1)+4]
boxplot(data, group, 'positions', [1, 3, 4, 6, 7])
How to do similar thing using violin plot?
Metadata
Metadata
Assignees
Labels
No labels