Matlab-subplot_function

pos1 = [0.05 0.4 0.3 0.3];
subplot('Position',pos1)
y = magic(4);
plot(y)
title('First Subplot')

pos2 = [0.5 0.15 0.4 0.7];
subplot('Position',pos2)
bar(y)
title('Second Subplot')

猜你喜欢

转载自www.cnblogs.com/shunguo/p/11399358.html