## Stuart’s MATLAB VideosWatch and Learn

### This is machine translation

Translated by
Mouseover text to see original. Click the button below to return to the Original version of the page.

# Managing subplot layouts in MATLAB2

Posted by Doug Hull,

Many people use subplot to layout axes, but do not know there is a second way of using it so that all the axes can be sized differently. Also, a method for having a common x-axis is shown.

h(4) = subplot(6,1,4:6);
h(4) = subplot(2,1,2);
linkaxes(h,'x')