# How do I plot a 3D Vector function, that only has one variable? [closed]

So I have a vector-valued function

$$r(t) = \langle \cos(t), \sin(t), \sqrt{t}\rangle$$

I am trying to plot the function over the interval $0 \le t \le 4$.

This is what I have for right now.

k[t_] := {Cos[t], Sin[t], Sqrt[t]};

Plot3D[{Cos[t], Sin[t], Sqrt[t]}, {t, 0, 4}]


## closed as off-topic by march, Szabolcs, m_goldberg, Coolwater, EdmundSep 15 '17 at 21:06

This question appears to be off-topic. The users who voted to close gave this specific reason:

• "This question arises due to a simple mistake such as a trivial syntax error, incorrect capitalization, spelling mistake, or other typographical error and is unlikely to help any future visitors, or else it is easily found in the documentation." – march, Szabolcs, m_goldberg, Coolwater, Edmund
If this question can be reworded to fit the rules in the help center, please edit the question.

• ParametricPlot3D instead of Plot3D. – Carl Woll Sep 15 '17 at 17:59

## 1 Answer

You can use Graphics3D combined with Arrow:

  f[t_] := {Cos[t], Sin[t], Sqrt[t]}
dt = 0.2;
table = Table[Arrow[{f[t], f[t + dt]}], {t, 0, 4, dt}];
Graphics3D[table]


Or:

ParametricPlot3D[f[t], {t, 0, 4}]