%% Save Figure with Large Text and Wide Lines
% This is an embed by section example.
%% Part 1

x = linspace(0,10);
y = sin(x);
p = plot(x,y);
t = text(pi,sin(pi),'\leftarrow (\pi,sin(\pi))');
leg = legend('Sine Wave');

%
%% Part 2

title('Sine Wave');
xlabel('x values');
ylabel('y values');

%
%% Part 3

ax = gca;
ax.FontSize = 14;
t.FontSize = 14;

%
%% Part 4

p.LineWidth = 1.5;
ax.LineWidth = 1.5;
leg.LineWidth = 1.5;

% Copyright 2015 The MathWorks, Inc.