t = 0:0.01:12;
plot (t, sin (t));
legend ('$\sin(t)$');
print ('plot.eps','-depslatex','-S400,240');