グラフ上の目盛りを消す方法ありますか。
Ältere Kommentare anzeigen
Akzeptierte Antwort
Weitere Antworten (2)
Axesのプロパティ の TickLengthを長さ0にしました
x = 0:1/100:1;
y = sin(2*pi*x);
plot(x,y)
ax = gca;
ax.TickLength= [0 0];
1 Kommentar
高祥 袁
am 11 Sep. 2021
x = 0:pi/100:pi * 2; y = sin(x); plt = plot(x,y);
set(gca,'TickLength',[0 0]);
Kategorien
Mehr zu Grid Lines, Tick Values, and Labels finden Sie in Hilfe-Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!


