Question about labels in a plot

I have a simple question about labels in a plot: is there possible to remove the labels and the ticks from one (or both) axis?
For example, in the image below I have a plot done by imagesc . How can I remove all the ticks and leave the number on the left (2,4,6,...) without ticks ?

댓글 수: 1

Walter Roberson
Walter Roberson 2020년 6월 10일
You can set the axes XRuler and YRuler TickLength

답변 (0개)

이 질문은 마감되었습니다.

질문:

2020년 6월 10일

마감:

2021년 8월 20일

Community Treasure Hunt

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

Start Hunting!

Translated by