Please note that I do not want to get rid of all the grids, so 'grid off' is not my option. I only want to erase the dotted grids.
How to eliminate unwanted grids on the z-axis?
조회 수: 2 (최근 30일)
이전 댓글 표시
I am trying to plot a 3D scatter plot. Although I have set the zticks to 10.^[-1, 3], I have still got a lot of unwanted grids on the z-axis, which looks like this:
How can I eliminate the dotted grids and only keep the solid lines? Thanks!
채택된 답변
Luna
2018년 11월 23일
Hi Edward,
Maybe this can solve your problem:
set(gca,'XMinorGrid','off');
set(gca,'YMinorGrid','off');
set(gca,'ZMinorGrid','off');
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Annotations에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!