In [1]:
x = [0: 0.01: 0.98];
y1 = sin (2*pi*4*x);
y2 = cos (2*pi*4*x);
plot (x, y1);               %first plot
hold on;                    %Draw on the same window
plot (x, y2, 'r')           %In red



In [ ]: