%% sinusovy pas
cla

y = linspace(0,4*pi,40);
z = sin(y);
x = zeros(size(y));

Y = repmat(y,3,1);
Z = repmat(z,3,1);
X = [x; x+1; x+2];

% graf
plot3(X',Y',Z','b') % line(x,y,z)
hold on
plot3(X,Y,Z,'b')
