參考原文
x = [0:0.1:2*pi];
y = sin(x);
plot(x, y)
set(gca,'xtick',[0, 0.5*pi, pi, 1.5*pi, 2*pi])
set(gca, 'xticklabel', {'0', 'p/2', 'p', '3p/2', '2p'})
set(gca, 'fontname', 'symbol')
x = [0:0.1:2*pi];
y = sin(x);
plot(x, y)
set(gca,'xtick',[0, 0.5*pi, pi, 1.5*pi, 2*pi])
set(gca, 'xticklabel', {'0', 'p/2', 'p', '3p/2', '2p'})
set(gca, 'fontname', 'symbol')
留言