t=[0:.1:100]'; u=-1+0.02*t; y=sin(0.2*t); plot(t,y,t,u) %y (y-axis) is plotted against t (x-axis) %and u (y-axis) is plotted against t (x-axis).