How can I don't display the x values labels in heat map?
23 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
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 commentaires
Réponse acceptée
Star Strider
le 25 Avr 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 commentaires
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Data Distribution Plots dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!