clf
x=-4:0.1:4;
y=(1+x.^2).*exp(3*x);
semilogy(x,y);
text(-3,2000,'Text in Graph');
title('logarithmic scale in vertical direction')
xlabel('Distance [m]'); ylabel('Temp [K]')
if is_octave 
  replot 
%   print('graph3.eps','-depsc','-FTimes-Roman:20')
  print('graph3.eps','-depsc')
end
if is_matlab
  print('graph3.eps','-depsc') 
end
