Matlab plot ; How to plot figures like the file attached below

1 view (last 30 days)
How to plot figures like this in Matlab

Accepted Answer

Marco Riani
Marco Riani on 5 Dec 2020
  3 Comments
Marco Riani
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)
deepthi b
deepthi b on 5 Dec 2020
Sir, in my matlab, heatmap is not availabe, only Heatmap is available and it doesnot have these options

Sign in to comment.

More Answers (1)

Ameer Hamza
Ameer Hamza on 5 Dec 2020

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!