%% Add Subtitle
% Create a plot. Add a title with the title function. Then add a subtitle with the subtitle function.

plot([0 2],[1 5])
title('Straight Line')
subtitle('Slope = 2, y-Intercept = 1')

% Copyright 2020 The MathWorks, Inc.