How to remove XTick labels without removing XTicks?

Hello,
i mean i want to remove the XTick labels (not hide them) with displaying XTicks. As i am plotting like shown in the figure attached, lot of my space is captured by the XTick Labels. i want a trick so that i can plot like in the second figure attached.

댓글 수: 1

Looky
Looky 2020년 12월 9일
편집: Looky 2020년 12월 9일
Have you tried to just remove the labels? Something like this:
myaxis=gca;
myaxis.XTickLabel= { } ;

댓글을 달려면 로그인하십시오.

카테고리

도움말 센터File Exchange에서 Axis Labels에 대해 자세히 알아보기

제품

릴리스

R2020b

질문:

2020년 12월 9일

답변:

Jan
2020년 12월 9일

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by