subset of sphere defined by inequalities

asked 2019-03-05 15:43:54 -0500

Dmitri gravatar image

updated 2019-03-06 10:34:45 -0500

I need to draw several geodesics on a subset of a unit sphere, namely the set of all points with z-coordinate -0.5<z&lt;0.5< p="">

1)How do I define the object?

A = sphere((0,0,0), 1)

How to cut off the domain that i need? I'm a complete novice and failed to find the answer in the documentation.

2) What's the right way to draw a segment of a big circle between two points on a sphere given in spherical coordinates?

edit retag flag offensive close merge delete



Read this doc:

sage: parametric_plot?
sage: parametric_plot3d?
FrédéricC gravatar imageFrédéricC ( 2019-03-07 07:33:36 -0500 )edit