- #1
sunnygsm
- 1
- 0
Hi I have an issue I am trying to solve, so far I haven't managed to get past it.
I have some data for 200 points in theta from 0 to 2PI. The data is spherically symmetric so there is no phi dependence. Basically what I want to do is turn the 2D plot into a 3D by revolving the 2D plot.
My data are velocities which enter in the format. (theta from Z axis)
x = V. cos(theta)
y = V. sin(theta)
V is an array of length 200. And each element in V corresponds to a different value of theta.
Any thoughts on how I might turn this into a 3D plot? If you need clarification please let me know.
I have some data for 200 points in theta from 0 to 2PI. The data is spherically symmetric so there is no phi dependence. Basically what I want to do is turn the 2D plot into a 3D by revolving the 2D plot.
My data are velocities which enter in the format. (theta from Z axis)
x = V. cos(theta)
y = V. sin(theta)
V is an array of length 200. And each element in V corresponds to a different value of theta.
Any thoughts on how I might turn this into a 3D plot? If you need clarification please let me know.