Reputation: 3783
Suppose that we have this figure with 4 subplots in MATLAB R2015a
:
How can i change difference position (ylabel
) to center?
Upvotes: 3
Views: 1925
Reputation: 2757
You can use normalized units. Following is the code
set(y, 'Units', 'Normalized', 'Position', [v1, v2, v3]);
Use your values in place of v1, v2 and v3.. The normalized units are relative to [0,1]...
Other Possible Solution
You can also use:
ylabel('Difference', 'position',[x y z])
Upvotes: 1