⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 ex2309.m

📁 数字信号处理的MATLAB实现
💻 M
字号:
%例23-9 坐标轴范围和比例设置(M-file)
%Ex23-09 axis example
clear
clc
t=0:0.01*pi:2*pi;
x=sin(t);
y=cos(t);
for i=1:9
    subplot(3,3,i)
    plot(x,y)
end
subplot(3,3,1)
axis auto normal
title('axis auto normal')
subplot(3,3,2)
axis([-2 2 -1.5 1.5])
axis normal
title('axis [] normal')
subplot(3,3,3)
axis tight normal
title('axis tight normal')
subplot(3,3,4)
axis auto square
title('axis auto square')
subplot(3,3,5)
axis([-2 2 -1.5 1.5])
axis square
title('axis [] square')
subplot(3,3,6)
axis tight square
title('axis tight square')
subplot(3,3,7)
axis auto equal
title('axis auto equal')
subplot(3,3,8)
axis([-2 2 -1.5 1.5])
axis equal
title('axis [] equal')
subplot(3,3,9)
axis tight equal
title('axis tight equal')

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -