Clear Filters
Clear Filters

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

4 views (last 30 days)
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

Answers (0)

Community Treasure Hunt

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

Start Hunting!