Plotting Functions:
    image.png
    grid网格
    title(‘…..’) xlabel ylabel
    hold on将后面的波形画在前面面板上,hold off只显示最后绘制的波形。

    subplot(行,列,第几个图呈现)

    1. clear
    2. clc
    3. x = 0:0.1:2*pi;
    4. y = sin(x);
    5. y2 = cos(x);
    6. subplot(2,2,2)
    7. plot(x,y)
    8. subplot(2,2,1)
    9. plot(x,y2)