I’m using mathematica 9.0 and want to draw an Ellipse in 3D. I notice that there is “Sphere”, but not ellipse... what is the easy way do draw one?
Thanks
I’m using mathematica 9.0 and want to draw an Ellipse in 3D. I notice that there is “Sphere”, but not ellipse... what is the easy way do draw one?
Thanks
When I wrote this answer the question clearly asked for an ellipse.
Look up ParametricPlot3D and use the equation of an ellipse.
ParametricPlot3D[{2 Cos[u], Sin[u], 0}, {u, 0, 2 Pi}]
Sphere[], so he might have meant ellipsoid, but I am not going to play that kind of guessing game. If he asked for an ellipse, he will get an ellipse from me.
– Szabolcs
Jul 10 '18 at 16:10
ParametricPlot3D[{3 Cos[u] Cos[v], 2 Cos[u] Sin[v], 1 Sin[u]} (*-(\[Pi]/2)<u<\[Pi]/2,0<v<2\[Pi] *), {u, -Pi/2,Pi/2}, {v, 0, 2 Pi}]
plots an ellipsoid!
Graphics3D[{Scale[Sphere[], {3, 1, 10}]}]– Jens Jul 10 '18 at 16:22Sphere. It is entirely possible that he meant ellipsoid ... but he wrote ellipse (twice). He should clarify. – Szabolcs Jul 10 '18 at 16:29