draw and add labels for boxplot

42 views (last 30 days)
talayeh ghodsi
talayeh ghodsi on 27 Nov 2020
Commented: talayeh ghodsi on 28 Nov 2020
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?

Accepted Answer

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

More Answers (0)

Tags

Community Treasure Hunt

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

Start Hunting!