close all
x=0:0.02:2*pi;
y=sin(x);
figure
plot(x,y,'LineWidth',2)

f1=@(x) 1+exp(-x.^2) ;
x1=0:0.02:3;
figure
plot(x1,f1(x1),'r','LineWidth',2)