필터 지우기
필터 지우기

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

조회 수: 23 (최근 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 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