How to plot a boxplot with same label?

1 view (last 30 days)
Matlaber
Matlaber on 7 Mar 2020
I am trying to have a boxplot with similar label, but matlab boxplot does not take it.
boxplot(randn(4),{'a','b','a','b'})
This however, is working
boxplot(randn(4),{'a','b','c','b'})

Answers (0)

Tags

Community Treasure Hunt

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

Start Hunting!