Boxplot legend not displayed properly
2 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
I would like to add a legend to my boxplot which represents four different variables: A, B, C, and D. When I am running the line for legend only the symbol for the last 'D' variable appears in the legend, for the rest variables I do not have any symbol, only their description: A, B, and C. Is there something whong in my code, attached below? Thanks in advance for help.
hLegend = legend(findall(gca,'Tag','Box'),'Location','southeast', {'A','B','C','D'});
0 Kommentare
Antworten (0)
Siehe auch
Kategorien
Mehr zu Legend finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!