%uppg_1_16 och 
clear

%{
x = [1:10];
y = [3 2 6 7 8 6 2 5 0 3];

plot(x);
plot(y);
plot(x, y);
plot(y, x);
plot(x, y, '.');
%}
x = 0:0.2:50;
f1 = sin(x) + cos(0.2.*x);
%plot(x, f1)
%xlabel('Tid')
%ylabel('Amplitud')
%gtext('sexy curves')
%coord = ginput


subplot(2, 2, 1), plot(x, sin(x)), title('sin(x)')
subplot(2 ,2 ,2), plot(x, cos(x)), title('cos(x)')
subplot(2, 2, 3), plot(x, sin(.5.*x)), title('sin(0.5*x)')
subplot(2, 2, 4), plot(x, cos(.5.*x)), title('cos(0.5*x)')






