0
|
8359 Views
|
3 Replies
|
1 Total Likes
View groups...
Share
GROUPS:

# How to draw a circle with SphericalPlot3D?

Posted 11 years ago
 Hi everyone, my teacher want us to draw a "meridian" which is a circle pass through the sphere, like longitudes on the Earth's surface. I try to use SphericalPlot3D, but it does not allow to do so. The teacher said p=1, theta = 0 and phi go from 0 to 2pi,but Mathematica doesn't get theta=0
3 Replies
Sort By:
Posted 11 years ago
 If you really want to use SphericalPlot3D, just switch off the surface plotting and control the 'mesh' lines to give a result that looks like a meridian line:SphericalPlot3D[1, {theta, 0, 2 Pi} , {phi, 0, 2 Pi}, PlotStyle -> None, Mesh -> 1]Or you could draw a circle in 3D space:With[{radius = 1}, Graphics3D[  Line[Table[{radius Cos[a], 0, radius Sin[a]},     {a, 0, 2 Pi, Pi/120}]],  Axes -> True]]
Posted 11 years ago
 Vy Vo, could you please post the Mathematica code of what you have so far.
Posted 11 years ago
 Try Using ParametricPlot3D[]