Color Issue Using exportgraphics On confusionchart Figure

2 visualizaciones (últimos 30 días)
John Snoap
John Snoap el 27 de Feb. de 2021
Respondida: John Snoap el 1 de Mzo. de 2021
I'm having a small issue with PDF color output when I use the 'exportgraphics' function on a figure made using the 'confusionchart' function. I'm using MATLAB 2020a.
When saving a confusion matrix figure as a PDF using the 'exportgraphics' function, all of the blank squares inside the confusion matrix are changed from white to gray. I want to continue using the exportgraphics function because it is much easier to save a PDF file of a figure that way and because it also embeds the fonts into the PDF file, however I don't want the white/blank squares to be made gray. On Windows, saving the figure as a PDF file from the UI doesn't seem to embed the fonts and it is also much more combersome to make the PDF output as maximized as possible, although it does preserve the blank/white squares. All the other squares in the confusion matrix maintain the correct color when using the 'exportgraphics' function.
Is there anyway to fix/remove this color change on the blank squares in the confusion matrix when using the 'exportgraphics' function?

Respuesta aceptada

John Snoap
John Snoap el 1 de Mzo. de 2021
This issue was resolved in 2020b.

Más respuestas (0)

Categorías

Más información sobre Data Exploration en Help Center y File Exchange.

Productos


Versión

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by