x=0:1:360;
figure("Name","sin and cos");
p1=gca;
plot(x,sind(x),x,cosd(x))
grid on
grid minor
p1.XGrid='off';

legend('sin','cos')
legend('boxoff')
axis([0,360,-1,1]);
xlabel('alpha')
ylabel('sin and cos')
title('graphics')
xticks(0:40:360)
yticks([-1 0 1])
yticklabels({'-1','0','1'})