Heat plot in Matlab

10 views (last 30 days)
Prasad Joshi
Prasad Joshi on 19 Jan 2022
Edited: Prasad Joshi on 20 Jan 2022
I am looking for heat plot like this in matlab I have done this excel and not finding any input in Matlab ..Any code or keyword will be helpful ......Thank you in advance....Just to add on I am using 2016 b using following code I am getting following error;_
cdata = [45 60 32; 43 54 76; 32 94 68; 23 95 58];
xvalues = {'Small','Medium','Large'};
yvalues = {'Green','Red','Blue','Gray'};
h = heatmap(xvalues,yvalues,cdata);
any other alternative will be highly helpful ...Thank you in advance

Accepted Answer

KSSV
KSSV on 19 Jan 2022
  5 Comments
KSSV
KSSV on 20 Jan 2022
Follow the fileexchange....
Prasad Joshi
Prasad Joshi on 20 Jan 2022
Edited: Prasad Joshi on 20 Jan 2022
Thank you siva sir

Sign in to comment.

More Answers (0)

Categories

Find more on Colormaps 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!