how to adjust the font size of RowLabels and ColumnLabels of HeatMap

89 visualizaciones (últimos 30 días)
Li Xue
Li Xue el 7 de Mayo de 2018
Respondida: Marco Riani el 5 de Dic. de 2020
How to adjust the font size of RowLabels and ColumnLabels of HeatMap?

Respuestas (2)

Li Xue
Li Xue el 7 de Mayo de 2018
Figured it out. It is something like:
heatmap_obj=HeatMap(B);
h=plot(heatmap_obj);
h.FontSize = 14;

Marco Riani
Marco Riani el 5 de Dic. de 2020
h.FontSize changes the FontSize of all xlabels, ylabels and the numbers inside the heatmap.
In order to change the FontSize of a particular label it seems to me it is necessary to use Latex instruction \fontsize (see screenshot below)

Categorías

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

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by