I wanted to know if it is possible for me to plot a 3D vector (with x, y, and z components) in which each component is dependent on time. For more context, I want to plot the function:
$\qquad E(t) = 3\cos(ω\,t)(\hat x) + [3\cos(ω\,t)−4\sin(ω\,t)] (\hat y) − 6\cos(ω\,t−π/4)(\hat z)$
Which is a phasor represented in the time domain. I believe that the best way is to keep time constant, and to plot the function at one instant in time, but I also have seen my professor make a graph that gradually changes a variable, n, by itself, or by sliding a bar. How do I do that, or is there a better way to plot this function? Also, this isn't a part of my homework, but I would like to make a graph to better understand what I am doing for my homework and how it looks plotted.