change legend name of ROC
2 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Elysi Cochin
am 15 Sep. 2022
Kommentiert: Elysi Cochin
am 17 Sep. 2022
How to change the legend name (class1, class2, ...) of ROC when using
plotroc(Ts,Y)
0 Kommentare
Akzeptierte Antwort
KSSV
am 15 Sep. 2022
plotroc(Ts,Y)
hLegend = findobj(gcf, 'Type', 'Legend');
%get text
hLegend.String
% Change
hLegend.String {'One' 'Two' 'Three'} % put your strings here; I assume three are there
Weitere 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!