there are many subplots and each subplot has its own title. how can add a title over all of these group of subplots? I want this title to be shown at top center.
<
Since Matlab 2018b, the new function sgtitle adds a title to a subplot group, simply add sgtitle('Subplot Title');. It doesn't need a toolbox.
sgtitle('Subplot Title');
For example:
subplot(1,2,1) plot(cos(0:40)); title('cos'); subplot(1,2,2) plot(sin(0:40)) title('sin'); sgtitle('Trigo');