%% Add Title and Return Text Handle
% Add a title to a plot and return the text object.

plot((1:10).^2)
t = title('My Title');

%
% Set the color of the title to red. Use dot notation to set properties.

t.Color = 'red';

% Copyright 2015 The MathWorks, Inc.