Is it possible to subplot confusion matrices?
4 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Gyorgy Levay
el 3 de Jul. de 2016
Comentada: Gyorgy Levay
el 3 de Jul. de 2016
I'm plotting several confusion matrices using plot_confusion() function and want to put them in a subplot (2x5 figures), but it does not seem to work as it would with other figure types. Are there any restriction for plotting confusion? Thanks!
0 comentarios
Respuesta aceptada
Walter Roberson
el 3 de Jul. de 2016
If you refer to plotconfusion() from the Neural Network toolbox, then unfortunately No. I just checked the code for it: if there is a "current figure" then it always clears the entire figure with clf(); if there is no "current figure" then it always creates a new figure. There is no direct way to subplot() it.
What you might be able to do is ensure there is no current figure, then let it generate a new figure, and afterwards go into the figure and extract the parts of interest and move them into a subplot in the place you want, and then delete that figure that it generated.
Más respuestas (0)
Ver también
Categorías
Más información sobre Axis Labels en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!