subplot确定图的位置

subplot是MATLAB中的函数。
使用方法:subplot(m,n,p)或者subplot(m n p)。
subplot是将多个图画到一个平面上的工具。其中,m表示是图排成m行,n表示图排成n列,也就是整个figure中有n个图是排成一行的,一共m行,如果m=2就是表示2行图。p表示图所在的位置,p=1表示从左到右从上到下的第一个位置。






注:p可以为小数

猜你喜欢

转载自blog.csdn.net/ytlxl/article/details/79632410