How to see values in heatmap when we use subplot

6 Ansichten (letzte 30 Tage)
NA
NA am 5 Jul. 2021
Beantwortet: Chunru am 5 Jul. 2021
I have heatmap like this
subplot(2,2,1);
a=rand(9);
k=heatmap(a);
subplot(2,2,2);
a=rand(9);
k=heatmap(a);
subplot(2,2,3);
a=rand(9);
k=heatmap(a);
I want to see values of each box in the plot.

Akzeptierte Antwort

Chunru
Chunru am 5 Jul. 2021
Either increase the figure size or reduce the font size, or both:
figure('Position', [0 0 1024 768]);
subplot(2,2,1);
a=rand(9);
k=heatmap(a);
k.FontSize =2;

Weitere Antworten (0)

Kategorien

Mehr zu Data Distribution Plots finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by