필터 지우기
필터 지우기

Adding proper label names to confusion matrix created with plotconfusion function:

조회 수: 6 (최근 30일)
How can I add actual label names to a confusion matrix created using plotconfusion? I don't want the current default of using numerals 1, 2, 3, etc as the label names. Any ideas will be appreciated. Thanks.

채택된 답변

Alka Nair
Alka Nair 2015년 6월 17일
Hi, >> p = plotconfusion(t,y) gives a figure object p which has 2 children , one is uicontrol and the other is axis. By changing the YTickLabel property of the axis to the desired labels, you can get rid of the default labels.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Call Python from MATLAB에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by