How to plot a boxplot with same label?

1 次查看(过去 30 天)
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'})

回答(0 个)

标签

Community Treasure Hunt

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

Start Hunting!

Translated by