How to customize font size of accuracies/elements of a confusion matrix in MATLAB?

1 次查看(过去 30 天)
Hi,
In my confusion matrix, I'm using one of the following two lines to change the font size of all the elements of a confusion matrix. But the following code changes font size includig title, tick labels and etc. How can I change the font size and color of the matrix elements by suppressing changes of other stuffs? Thanks in advance to help me.
% set(findobj(gca,'type','text'),'fontsize',20); % All font size
% set(findall(gcf,'-property','FontSize'),'FontSize',20); % All font size

回答(0 个)

Community Treasure Hunt

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

Start Hunting!

Translated by