Effacer les filtres
Effacer les filtres

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

6 vues (au cours des 30 derniers jours)
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.

Réponse acceptée

Alka Nair
Alka Nair le 17 Juin 2015
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.

Plus de réponses (0)

Catégories

En savoir plus sur Call Python from MATLAB 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!

Translated by