Labfans是一个针对大学生、工程师和科研工作者的技术社区。 | 论坛首页 | 联系我们(Contact Us) |
![]() |
![]() |
#4 |
普通会员
注册日期: 2008-04-12
年龄: 46
帖子: 67
声望力: 19 ![]() |
![]()
如果想在一个坐标系下画多个图:
方法1:plot( x1, y1, x2, y2, x3, y3 ... ); 方法2:plot( x1, y1 ); hold 'all'; plot( x2, y2 ); ..... 如果想在一个窗口的多个坐标系下画图: subplot( 2, 2, 1 ); % 2x2 个坐标系中的第1个, 2x2是可变的,如subplot( 3, 2, 1 ); plot( x1, y1 ); subplot( 2, 2, 2 ); % 2x2 个坐标系中的第2个 plot( x2, y2 ); ...... |
![]() |
![]() |