This question is closed. Reopen it to edit or answer.

Question about labels in a plot

1 view (last 30 days)
aurc89 on 10 Jun 2020
Closed: MATLAB Answer Bot on 20 Aug 2021
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 Comment
Walter Roberson
Walter Roberson on 10 Jun 2020
You can set the axes XRuler and YRuler TickLength

Answers (0)

Community Treasure Hunt

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

Start Hunting!

Translated by