How can I don't display the x values labels in heat map?
19 views (last 30 days)
Show older comments
I don't want to display the x-values labels of the first figure (1995,1996,...,2005).
0 Comments
Accepted Answer
Star Strider
on 25 Apr 2019
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 Comments
More Answers (0)
See Also
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!