% *******************************************************************
%  Math 430 * Math 635 * Lecture 6 * Sep 21, 2015 * Victor Matveev  *
%                    Some very simple plotting                      *
% *******************************************************************

x = -2 : 0.1 : 2;
y = myExp(x);
figure(1);
hold off;
plot(x, y,     'r-', 'linewidth', 2);
hold on;
plot(x, 1 + x, 'b:', 'linewidth', 2);
legend('My exponential: y=e^x', 'Linear approximation at x=0: y=1+x');
title('My first plot: exponential computed using Taylor series');
xlabel('x'), 
ylabel('y');



