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

25 ビュー (過去 30 日間)
Rt Ro
Rt Ro 2019 年 4 月 25 日
移動済み: DGM 2024 年 2 月 27 日
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 件のコメント
Dheeraj Bana
Dheeraj Bana 2024 年 2 月 27 日
Thansk a lot!!
Star Strider
Star Strider 2024 年 2 月 27 日
My pleasure!
A Vote would be appreciated!

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeData Distribution Plots についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by