draw and add labels for boxplot

12 次查看(过去 30 天)
Hi every body.
I need to use boxplot for 3 groups of data labeled as 'proposed,manual and other'
i wrote the code below but i have errors
proposed_MSD=[0.89,0.79,0.84,0.86,0.98,0.9,0.84,0.79,0.84,0.93]
manual_MSD=[0.87,0.76,0.86,0.84,0.96,0.92,0.88,0.81,0.83,0.91]
other_MSD=[0.67,0.75,0.78,0.79,0.74,0.81,0.8,0.76,0.69,0.78]
boxplot([proposed_MSD,other_MSD,other_MSD],'Labels',{'proposed','manual','other'})
could anyone help me we that please?

采纳的回答

dpb
dpb 2020-11-27
boxplot([proposed_MSD.' manual_MSD.' other_MSD.'],'Labels',{'proposed','manual','other'})

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Axis Labels 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by