1.Vocabulary:
plot
绘图x-axis
x轴display
显示annotate
注释explicit
显式implicit
隐式polar coordinates
极坐标parameter
参数boldface
黑体title
标题radian
弧度radius
半径
2.Some functions
- plot
- polar
- plot3
- title
- xlabel
- ylabel
- figure
- legend
- subplot
- grid on
- grid off
3.Plot
>> x = [1 2 3 4 5 6]; y = [1 -1.5 2 -3 -1 7];
>> plot(x, y);
>> a =[1:6; 1 4 9 16 25 36];
>> plot(a); % plot six lines (1, 1); (2, 4); (3, 9); (4, 16); (5, 25); (6, 36)
x = linspace(0,2*pi);
y = sin(x);
plot(x,y);
title('sin x') %添加标题
xlabel('x axis') %添加x轴标签
ylabel('y axis') %添加y轴标签
grid on %打开网格
t = linspac