e0627.m
来自「matlab的一些学习资料和matlab的部分经典源码」· M 代码 · 共 12 行
M
12 行
%方法1:
t=0:0.1:20*pi;
plot3(t,sin(t),cos(t))
xlabel('t'),ylabel('sin(t)'),zlabel('cos(t)');title('plot3');
%方法2:
ezplot3('t','sin(t)','cos(t)')% 0 ≤ t ≤2*pi
xlabel('t'),ylabel('sin(t)'),zlabel('cos(t)');title('ezplot3');
%方法3:
ezplot3('t','sin(t)','cos(t)',[ 0 20*pi]) % 0 ≤ t ≤20*pi
xlabel('t'),ylabel('sin(t)'),zlabel('cos(t)');title('ezplot3');
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?