x = 0:0.1:8;

y1 = sin(x);

y2 = cos(x);

subplot(221);

plot(x,y1);


subplot(222);

plot(x,y1,x,y2,'.');


line = [1 2 3];

w = [2 3 4];

w1 = [3 1 6];

subplot(223);

plot(line,w,line,w1);


q = [4 6;3 5;1 2];

subplot(224);

plot(w,q);


matlab 2D plot 绘图函数


转载于:https://blog.51cto.com/gammme/1299749

相关文章:

  • 2022-01-30
  • 2021-06-02
  • 2022-12-23
  • 2021-12-17
  • 2021-10-01
  • 2021-11-30
  • 2021-11-28
  • 2021-11-29
猜你喜欢
  • 2021-06-01
  • 2021-08-05
  • 2021-12-02
  • 2021-06-04
  • 2021-05-02
  • 2022-12-23
  • 2022-01-13
相关资源
相似解决方案