グラフ上の目盛りを消す方法ありますか。

 Risposta accettata

Atsushi Ueno
Atsushi Ueno il 11 Set 2021

1 voto

1 Commento

高祥 袁
高祥 袁 il 11 Set 2021
とても親切に解答してくれてありがとうございます。

Accedi per commentare.

Più risposte (2)

Hernia Baby
Hernia Baby il 11 Set 2021

1 voto

Axesのプロパティ の TickLengthを長さ0にしました
x = 0:1/100:1;
y = sin(2*pi*x);
plot(x,y)
ax = gca;
ax.TickLength= [0 0];

1 Commento

高祥 袁
高祥 袁 il 11 Set 2021
解答ありがとうございます。

Accedi per commentare.

Atsushi Ueno
Atsushi Ueno il 11 Set 2021

0 voti

x = 0:pi/100:pi * 2; y = sin(x); plt = plot(x,y);
set(gca,'TickLength',[0 0]);

Prodotti

Tag

Community Treasure Hunt

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

Start Hunting!