Keeping xlabels but not xticks
이전 댓글 표시
Hi there,
See image: I would like to keep the xlabels (M1,M2,M3,M4,All) whilst deleting the xticks. How do I do this?
Thanks

답변 (1개)
Adam
2017년 3월 9일
hAxes.XAxis.TickLength = [0 0];
where hAxes is your axes handle. This assumes you are using a sufficiently recent version of Matlab (R2015b or later)
카테고리
도움말 센터 및 File Exchange에서 Axis Labels에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!