p1_6.m
来自「Advanced Engineering Mathematics using M」· M 代码 · 共 10 行
M
10 行
% P1_6.M Plot an ellipse and add textt=0:0.1:2*pi % Look at t values x=3*sin(t);y=2*cos(t);plot(x,y)% Write the text in the center - adjust the text positioningtext(-0.9,0.0,'This is an ellipse')%% Note the t values and the approximation to 2*pi%
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?