Heat plot in Matlab
4 次查看(过去 30 天)
显示 更早的评论
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
0 个评论
采纳的回答
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Colormaps 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!