% plotTwoFunctions.m
% Plots exp(-x^2) and tanh(x) in two different figures
% Uses Greek letters in axis labels
% Jose M Soler, Sep.2011

x=-5:0.01:5;       % x values
lambda=exp(-x.^2); % first function
Phi=tanh(x);       % second function

figure(1)
plot(x,lambda)
set(gca,'FontSize',20)   % notice: this affects only to this figure
xlabel('x'), ylabel('\lambda(x)')  % notice \ for greek letters

figure(2)
plot(x,Phi)
xlabel('x'), ylabel('\Phi(x)')
