function exp_plot(Lx,res,tol)
% Create a plot using the exp_sum function

xx = linspace(-Lx,Lx,res);  % x points of evaluation
yy = exp_sum(xx,tol);       % run exp series program  
yy1 = exp(xx);            % evaluate e^x with MatLab

figure(101)                 % assign a figure number

plot(xx,yy,'r-','LineWidth',1.5);  % plot the series
hold on                            % add more graphs
plot(xx,yy1,'b--','LineWidth',1.5);% plot e^x
grid;                            % provide gridlines

% Set up fonts and labels for the Graph
fontlabs = 'Times New Roman';  
xlabel('$x$','FontSize',16,'FontName',fontlabs, ...
    'interpreter','latex');  
ylabel('$e^x$','FontSize',16,'FontName',fontlabs, ...
    'interpreter','latex'); 
mytitle = 'Series for $e^x$';
title(mytitle,'FontSize',16,'FontName', ...
    'Times New Roman','interpreter','latex'); 
set(gca,'FontSize',16);        

print -depsc exp_gr.eps	   % Create EPS file (Figure)	
end

