function [] = plotColourSignal( x, frameLength, noOfFrames, values )

figure(1);
hold off;
j=1;
for( i=1: frameLength+1 : noOfFrames * frameLength )
    if( values(j) == 0 )
        plot( [i i+frameLength], x(i:i+frameLength), 'r' );
    elseif( values(j) == 1 )
        plot( [i i+frameLength], x(i:i+frameLength), 'g' );
    end
end