qinghev
 x=1:10;
 for i = 1:4
     y=i*x;
     subplot(2,2,i)
     plot(x,y)
     title(sprintf(\'y=%i x\n\',i))
 end

  效果如图

分类:

技术点:

相关文章: