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

18 visualizzazioni (ultimi 30 giorni)
Masaki Nakamori
Masaki Nakamori il 28 Gen 2021
Risposto: Srivardhan Gadila il 30 Gen 2021
グラフの目盛りの数字だけ残し、グラフの内向きに表示される目盛りだけ削除する方法はありますでしょうか。

Risposta accettata

Srivardhan Gadila
Srivardhan Gadila il 30 Gen 2021
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])

Più risposte (0)

Categorie

Scopri di più su 2 次元および 3 次元プロット in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!