
clear

x = linspace(-pi,pi, 101);

s = sin(x);
c = cos(x);

figure(10)
clf
hold on 
plot(x,s,'r*-')
plot(x,c,'k-.')

legend('seno', 'coseno', 'Location','NorthWest')

plot( [0 0], [-1 1], 'k')
plot( [-pi pi], [0 0], 'k')


axis equal
axis tight

xlabel('\itx','FontSize', 16, 'Position', [3.25 -1.25])
ylabel('\itf(x)', 'Rotation', 0, 'FontSize', 16, 'Position', [-3.6 0.9] )

title('\bfGrafico delle funzioni sin({\itx}) e cos({\itx})',...
    'FontSize', 20, 'FontName', 'Times')



