x = linspace(0,10);
figure(1)
plot(x,sin(x),x,cos(x),'+-')
title('A 1D Test')
xlabel('$\alpha$ values, $\cos(x) = \int_0^x \sin(\alpha) d\alpha$'); 
ylabel('$\gamma$ values')
matlab2tikz('Sin1.tikz','showInfo',false,'parseStrings',false,'width','\figurewidth')

xlabel('\alpha values, cos(x) = \int_0^x sin(\alpha) d\alpha'); 
ylabel('\gamma values')
print -dpdfwrite sin_pdf.pdf
print -dpng sin.png
