Can anyone help me with plotting a simple confusion matrix?
13 views (last 30 days)
Show older comments
I am trying to plot a simple confusion matrix which consists of 10 classes. I tried the 'confusionchart' function and received the error "Adding ConfusionMatrixChart to axes is not supported. Turn hold off.". I also tried the 'plotconfusion' function but received of an error of "too many input arguments". Can anyone help me?
1 Comment
Kaushik Lakshminarasimhan
on 17 Sep 2018
How is your data stored? Can you share sample code you tried?
Answers (1)
Jesús Díaz
on 3 Jun 2020
Edited: Jesús Díaz
on 27 Aug 2020
A bit late for answer, but here it is for future searches.
It seems a conflict with Figure. It possible that some kind of graphic or image were generated previously, so I think you should try to create a new figure before the confusion matrix.
0 Comments
See Also
Categories
Find more on Annotations in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!