Change ylabel position in MATLAB subplots

Suppose this figure has 4 subtasks in MATLAB R2015a

:

enter image description here

How to change the position of the difference ( ylabel

) to the center?

+3


source to share


1 answer


You can use normalized units. Below is the code

set(y, 'Units', 'Normalized', 'Position', [v1, v2, v3]);

      

Use your values ​​instead of v1, v2 and v3 .. Normalized units refer to [0,1] ...



Another possible solution

You can also use:

ylabel('Difference', 'position',[x y z])

      

+1


source







All Articles