x = 0:0.1:8;
y1 = sin(x);
y2 = cos(x);
subplot(221);
plot(x,y1);
subplot(222);
plot(x,y1,x,y2,'.');
line = [1 2 3];
w = [2 3 4];
w1 = [3 1 6];
subplot(223);
plot(line,w,line,w1);
q = [4 6;3 5;1 2];
subplot(224);
plot(w,q);