如何修改matlab坐标轴的颜色

2024-11-30 20:23:05
推荐回答(1个)
回答1:

x=0:0.1:2*pi;

y=sin(x);

plot(x,y,'k');

box off;

set(gca,'XColor','r','YColor','b');