📄 plot_axis_params.asv
字号:
% plot_axis_params.m
% plot函数坐标轴参数的设置示例
% 绘制参数化的椭圆
t=[0:pi/50:2*pi]';
x=4*sin(t);
y=5*cos(t);
% 绘制一:normal
subplot(2,2,1);
plot(x,y);
axis normal;
grid on;
title('figure1: normal');
% 绘制二:equal
subplot(2,2,2);
plot(x,y);
axis equal;
grid on;
title('figure2: equal');
% 绘制三:equal
subplot(2,2,2);
plot(x,y);
axis equal;
grid on;
title('figure2: equal');
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -