グラフの目盛りを非表示にする方法

グラフの目盛りの数字だけ残し、グラフの内向きに表示される目盛りだけ削除する方法はありますでしょうか。

 Respuesta aceptada

Srivardhan Gadila
Srivardhan Gadila el 30 de En. de 2021

1 voto

By the term "scale" in the above question if you are referring to the Tick marks on the axes then you can make them disappear by making use of the TickLength property of the Axes. If that's not what you are looking for then you can refer to the Axes Properties documentation for the other related properties.
>> plot(1:10)
>> set(gca,'TickLength',[0 0])

Más respuestas (0)

Categorías

Etiquetas

Community Treasure Hunt

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

Start Hunting!