Matlab plot ; How to plot figures like the file attached below
1 view (last 30 days)
Show older comments
How to plot figures like this in Matlab
0 Comments
Accepted Answer
Marco Riani
on 5 Dec 2020
Using function heatmap
3 Comments
Marco Riani
on 5 Dec 2020
Suppose that h is the handle of your heatmap that is
h = heatmap(xvalues,yvalues,cdata);
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)
More Answers (1)
Ameer Hamza
on 5 Dec 2020
See pcolor(): https://www.mathworks.com/help/matlab/ref/pcolor.html or imagesc(): https://www.mathworks.com/help/matlab/ref/imagesc.html
0 Comments
See Also
Categories
Find more on Data Distribution Plots in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!