What's the difference between plotconfusion and Confusionmat function in MATLAB?

Viewed 1615

I tried to display my confusion matrix from actual and predicted values while using both functions plotconfusion and Confusionmat. Both give different results. It's really strange for me. It seems Confusionmat is the transpose of plotconfusion. What should I do to plot similar results of Confusionmat on plotconfusion?

plotconfusion:    

59     0     0
0    68      0
0     3     48

And

Confusionmat:

59     0     0
0    68      3
0     0     48
1 Answers
Related