How to change the legend name (class1, class2, ...) of ROC when using
plotroc(Ts,Y)

 채택된 답변

KSSV
KSSV 2022년 9월 15일

1 개 추천

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

추가 답변 (0개)

카테고리

태그

질문:

2022년 9월 15일

댓글:

2022년 9월 17일

Community Treasure Hunt

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

Start Hunting!

Translated by