How can I don't display the x values labels in heat map?
조회 수: 23 (최근 30일)
이전 댓글 표시
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
채택된 답변
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
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Data Distribution Plots에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!