グラフ上の目盛りを消す方法ありますか。
显示 更早的评论
采纳的回答
更多回答(2 个)
Axesのプロパティ の TickLengthを長さ0にしました
x = 0:1/100:1;
y = sin(2*pi*x);
plot(x,y)
ax = gca;
ax.TickLength= [0 0];
x = 0:pi/100:pi * 2; y = sin(x); plt = plot(x,y);
set(gca,'TickLength',[0 0]);
类别
在 帮助中心 和 File Exchange 中查找有关 Grid Lines, Tick Values, and Labels 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!


