How can I don't display the x values labels in heat map?

23 次查看(过去 30 天)
I don't want to display the x-values labels of the first figure (1995,1996,...,2005).untitled.jpg

采纳的回答

Star Strider
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 CenterFile Exchange 中查找有关 Data Distribution Plots 的更多信息

标签

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by