定义函数

常用函数

plot() 作图

plot(x1,y1,x2,y2,)\texttt{plot}(x_1, y_1, x_2, y_2, \dots)yi=fi(xi)y_i=f_i(x_i) 画在图像上. 这里每一个 xi,yix_i, y_i 都是数组.