change legend name of ROC
4 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
How to change the legend name (class1, class2, ...) of ROC when using
plotroc(Ts,Y)
0 commentaires
Réponse acceptée
KSSV
le 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
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Legend dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!