Azzera filtri
Azzera filtri

draw and add labels for boxplot

36 visualizzazioni (ultimi 30 giorni)
talayeh ghodsi
talayeh ghodsi il 27 Nov 2020
Commentato: talayeh ghodsi il 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?

Risposta accettata

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

Più risposte (0)

Community Treasure Hunt

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

Start Hunting!

Translated by