Show only XGrid on Heatmap plot?
조회 수: 9 (최근 30일)
이전 댓글 표시
Hi, I'm using a heatmap plot to show zero values in a matrix. I am using h.GridVisible = 'off' to hide the grid but actually I would like to see the horizontal grid lines but not the vertical ones. Is there a way to achieve that?
Thanks
댓글 수: 0
답변 (2개)
KSSV
2018년 11월 17일
[X,Y,Z] = peaks(100) ;
pcolor(X,Y,Z)
shading interp
hold on
plot(X',Y','k')
댓글 수: 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!