📄 e0646.m
字号:
x=0:pi/12:2*pi;y=sin(x);
subplot(1,2,1);PN={'Color','LineWidth','Marker'};PV={[1 0 0],5,'d'};
line(x,y,PN,PV) % 应用构架数组设置颜色、线宽、标记属性
axis square ,grid on
subplot(1,2,2);PS.Color=[0.7 0.7 0];PS.LineWidth=2;PS.Marker='s ';
line(x,y,PS); % 应用构架数组重新设置颜色、线宽属性
axis square,grid on
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -