Matlab plot ; How to plot figures like the file attached below
1 次查看(过去 30 天)
显示 更早的评论
How to plot figures like this in Matlab
0 个评论
采纳的回答
Marco Riani
2020-12-5
Using function heatmap
3 个评论
Marco Riani
2020-12-5
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)
更多回答(1 个)
Ameer Hamza
2020-12-5
See pcolor(): https://www.mathworks.com/help/matlab/ref/pcolor.html or imagesc(): https://www.mathworks.com/help/matlab/ref/imagesc.html
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Data Distribution Plots 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!