matlab怎么样把两组数据画在一张图上?plot(x5,y,x15,y);就可以了 线形的颜色自动区分在用legend加注释legend(x5,x15)如果是一个界面两张图用subplot(1,2,1)plot(x5,y)subplot(1,2,2)plot(x15,y)