draw and add labels for boxplot

17 Ansichten (letzte 30 Tage)
talayeh ghodsi
talayeh ghodsi am 27 Nov. 2020
Kommentiert: talayeh ghodsi am 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?

Akzeptierte Antwort

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

Weitere Antworten (0)

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by