How can I don't display the x values labels in heat map?
9 次查看(过去 30 天)
显示 更早的评论
I don't want to display the x-values labels of the first figure (1995,1996,...,2005).![untitled.jpg](https://www.mathworks.com/matlabcentral/answers/uploaded_files/216425/untitled.jpeg)
![untitled.jpg](https://www.mathworks.com/matlabcentral/answers/uploaded_files/216425/untitled.jpeg)
0 个评论
采纳的回答
Star Strider
2019-4-25
Try this:
data1 = randi(9, 3);
figure
h1 = heatmap(data1);
cdl = h1.XDisplayLabels; % Current Display Labels
h1.XDisplayLabels = repmat(' ',size(cdl,1), size(cdl,2)); % Blank Display Labels
Having the code you used to create those figures would help.
4 个评论
更多回答(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!