function scroll
n = 0;
while(n < 300)
    for(k = 1:3)
        subplot(3,1,k);
        v = axis;
        v(1) = n;
        v(2) = n+2;
        axis(v);    
    end
    n = n + 2;
    pause;
end