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

 Risposta accettata

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 Commenti

Rt Ro
Rt Ro il 25 Apr 2019
Spostato: DGM il 27 Feb 2024
Thank you so much. it is working well.
Star Strider
Star Strider il 25 Apr 2019
Spostato: DGM il 27 Feb 2024
As always, my pleasure.
My pleasure!
A Vote would be appreciated!

Accedi per commentare.

Più risposte (0)

Categorie

Tag

Richiesto:

il 25 Apr 2019

Spostato:

DGM
il 27 Feb 2024

Community Treasure Hunt

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

Start Hunting!

Translated by