- #1
member 428835
Hi PF!
Given a vector field ##\vec f## in spherical coordinates as a function of a single parameter ##s##, shown here as
$$\vec f(s) = f_r(s) \hat r + f_\theta(s) \hat \theta + f_\phi(s) \hat\phi$$
where here subscripts do not denote partial derivatives, but instead are used to define components of ##f##, does anyone know the easiest way to plot this vector field?
I googled it but I didn't find anything too helpful (maybe I'm a bad googler).
Edit: I would also be happy with a 2-D image too, say the x-z or y-z plane.
Given a vector field ##\vec f## in spherical coordinates as a function of a single parameter ##s##, shown here as
$$\vec f(s) = f_r(s) \hat r + f_\theta(s) \hat \theta + f_\phi(s) \hat\phi$$
where here subscripts do not denote partial derivatives, but instead are used to define components of ##f##, does anyone know the easiest way to plot this vector field?
I googled it but I didn't find anything too helpful (maybe I'm a bad googler).
Edit: I would also be happy with a 2-D image too, say the x-z or y-z plane.