ParametricPlot3D[{t, 2 t, Cos[t]}, {t, -10, 10}]