IT博客汇
  • 首页
  • 精华
  • 技术
  • 设计
  • 资讯
  • 扯淡
  • 权利声明
  • 登录 注册

    Matlab画图 包含多个legend

    bendanban发表于 2016-10-04 22:08:59
    love 0
    没时间闲扯了,直接上代码吧。x = 0:0.01:3;y1 = sin(x); y2 = sin(x).^2; y3 = sin(x).^sin(x); y4 = cos(x).*sin(x);plotsc{1} = 'ph(i) = plot(x, y1); hold on;'; plotsc{2} = 'ph(i) = plot(x, y2); hold on;'; plotsc{3} = 'p


沪ICP备19023445号-2号
友情链接