How to plot a boxplot with same label?

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 件)

タグ

質問済み:

2020 年 3 月 7 日

Community Treasure Hunt

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

Start Hunting!

Translated by