回复: 请教一个棘手的问题
如果想在一个坐标系下画多个图:
方法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 );
......
|