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

 Accepted Answer

Atsushi Ueno
Atsushi Ueno on 11 Sep 2021

1 vote

1 Comment

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

Sign in to comment.

More Answers (2)

Hernia Baby
Hernia Baby on 11 Sep 2021

1 vote

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

1 Comment

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

Sign in to comment.

Atsushi Ueno
Atsushi Ueno on 11 Sep 2021

0 votes

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

Categories

Find more on 言語の基礎 in Help Center and File Exchange

Products

Tags

Community Treasure Hunt

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

Start Hunting!