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)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/447238/image.jpeg)
추가 답변 (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!