Gráficas en Matlab

Crear en una figura tres gráficas en las que se representen las relaciones
trigonométricas del ángulo alpha y alpha+pi/4. Una gráfica será continua en color rojo
y la otra discontinua en color negro. Etiquetar cada una de ellas convenientemente.

pi=180;
x=linspace(0,400);
y1=sind(x);
y2=cosd(x);
y3=tand(x);
z1=sind(x+pi/4);
z2=cosd(x+pi/4);
z3=tand(x+pi/4);

figure,subplot(2,2,1)
plot(x,y1,'k--')
hold on
plot(x,z1,'r'),grid
title('Senos')
legend('alpha','alpha+pi/4')

subplot(2,2,2)
plot(x,y2,'k--')
hold on
plot(x,z2,'r'),grid
title('Cosenos')
legend('alpha','alpha+pi/4')

subplot(2,2,3.5)
plot(x,y3,'k--'),grid
hold on
plot(x,z3,'r')
axis([0 400 -15 15])
title('Tangentes')
legend('alpha','alpha+pi/4')