passagemath-plot 10.6.31rc3__cp314-cp314-macosx_13_0_arm64.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of passagemath-plot might be problematic. Click here for more details.
- passagemath_plot-10.6.31rc3.dist-info/METADATA +172 -0
- passagemath_plot-10.6.31rc3.dist-info/RECORD +82 -0
- passagemath_plot-10.6.31rc3.dist-info/WHEEL +6 -0
- passagemath_plot-10.6.31rc3.dist-info/top_level.txt +2 -0
- passagemath_plot.dylibs/libgfortran.5.dylib +0 -0
- passagemath_plot.dylibs/libgsl.28.dylib +0 -0
- passagemath_plot.dylibs/libopenblasp-r0.3.29.dylib +0 -0
- passagemath_plot.dylibs/libquadmath.0.dylib +0 -0
- sage/all__sagemath_plot.py +15 -0
- sage/ext_data/threejs/animation.css +195 -0
- sage/ext_data/threejs/animation.html +85 -0
- sage/ext_data/threejs/animation.js +273 -0
- sage/ext_data/threejs/fat_lines.js +48 -0
- sage/ext_data/threejs/threejs-version.txt +1 -0
- sage/ext_data/threejs/threejs_template.html +597 -0
- sage/interfaces/all__sagemath_plot.py +1 -0
- sage/interfaces/gnuplot.py +196 -0
- sage/interfaces/jmoldata.py +208 -0
- sage/interfaces/povray.py +56 -0
- sage/plot/all.py +42 -0
- sage/plot/animate.py +1796 -0
- sage/plot/arc.py +504 -0
- sage/plot/arrow.py +671 -0
- sage/plot/bar_chart.py +205 -0
- sage/plot/bezier_path.py +400 -0
- sage/plot/circle.py +435 -0
- sage/plot/colors.py +1606 -0
- sage/plot/complex_plot.cpython-314-darwin.so +0 -0
- sage/plot/complex_plot.pyx +1446 -0
- sage/plot/contour_plot.py +1792 -0
- sage/plot/density_plot.py +318 -0
- sage/plot/disk.py +373 -0
- sage/plot/ellipse.py +375 -0
- sage/plot/graphics.py +3580 -0
- sage/plot/histogram.py +354 -0
- sage/plot/hyperbolic_arc.py +404 -0
- sage/plot/hyperbolic_polygon.py +416 -0
- sage/plot/hyperbolic_regular_polygon.py +296 -0
- sage/plot/line.py +626 -0
- sage/plot/matrix_plot.py +629 -0
- sage/plot/misc.py +509 -0
- sage/plot/multigraphics.py +1294 -0
- sage/plot/plot.py +4183 -0
- sage/plot/plot3d/all.py +23 -0
- sage/plot/plot3d/base.cpython-314-darwin.so +0 -0
- sage/plot/plot3d/base.pxd +12 -0
- sage/plot/plot3d/base.pyx +3378 -0
- sage/plot/plot3d/implicit_plot3d.py +659 -0
- sage/plot/plot3d/implicit_surface.cpython-314-darwin.so +0 -0
- sage/plot/plot3d/implicit_surface.pyx +1453 -0
- sage/plot/plot3d/index_face_set.cpython-314-darwin.so +0 -0
- sage/plot/plot3d/index_face_set.pxd +32 -0
- sage/plot/plot3d/index_face_set.pyx +1873 -0
- sage/plot/plot3d/introduction.py +131 -0
- sage/plot/plot3d/list_plot3d.py +649 -0
- sage/plot/plot3d/parametric_plot3d.py +1130 -0
- sage/plot/plot3d/parametric_surface.cpython-314-darwin.so +0 -0
- sage/plot/plot3d/parametric_surface.pxd +12 -0
- sage/plot/plot3d/parametric_surface.pyx +893 -0
- sage/plot/plot3d/platonic.py +601 -0
- sage/plot/plot3d/plot3d.py +1442 -0
- sage/plot/plot3d/plot_field3d.py +162 -0
- sage/plot/plot3d/point_c.pxi +148 -0
- sage/plot/plot3d/revolution_plot3d.py +309 -0
- sage/plot/plot3d/shapes.cpython-314-darwin.so +0 -0
- sage/plot/plot3d/shapes.pxd +22 -0
- sage/plot/plot3d/shapes.pyx +1382 -0
- sage/plot/plot3d/shapes2.py +1512 -0
- sage/plot/plot3d/tachyon.py +1779 -0
- sage/plot/plot3d/texture.py +453 -0
- sage/plot/plot3d/transform.cpython-314-darwin.so +0 -0
- sage/plot/plot3d/transform.pxd +21 -0
- sage/plot/plot3d/transform.pyx +268 -0
- sage/plot/plot3d/tri_plot.py +589 -0
- sage/plot/plot_field.py +362 -0
- sage/plot/point.py +624 -0
- sage/plot/polygon.py +562 -0
- sage/plot/primitive.py +249 -0
- sage/plot/scatter_plot.py +199 -0
- sage/plot/step.py +85 -0
- sage/plot/streamline_plot.py +328 -0
- sage/plot/text.py +432 -0
|
@@ -0,0 +1,131 @@
|
|
|
1
|
+
# sage_setup: distribution = sagemath-plot
|
|
2
|
+
r"""
|
|
3
|
+
Introduction
|
|
4
|
+
|
|
5
|
+
Sage has a wide support for 3D graphics, from basic shapes to implicit and
|
|
6
|
+
parametric plots.
|
|
7
|
+
|
|
8
|
+
The following graphics functions are supported:
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
- :func:`~plot3d` -- plot a 3d function
|
|
12
|
+
|
|
13
|
+
- :func:`~sage.plot.plot3d.parametric_plot3d.parametric_plot3d` -- a parametric three-dimensional space curve or surface
|
|
14
|
+
|
|
15
|
+
- :func:`~sage.plot.plot3d.revolution_plot3d.revolution_plot3d` -- a plot of a revolved curve
|
|
16
|
+
|
|
17
|
+
- :func:`~sage.plot.plot3d.plot_field3d.plot_vector_field3d` -- a plot of a 3d vector field
|
|
18
|
+
|
|
19
|
+
- :func:`~sage.plot.plot3d.implicit_plot3d.implicit_plot3d` -- a plot of an isosurface of a function
|
|
20
|
+
|
|
21
|
+
- :func:`~sage.plot.plot3d.list_plot3d.list_plot3d`- a 3-dimensional plot of a surface defined by a list of points in 3-dimensional space
|
|
22
|
+
|
|
23
|
+
- :func:`~sage.plot.plot3d.list_plot3d.list_plot3d_matrix` -- a 3-dimensional plot of a surface defined by a matrix defining points in 3-dimensional space
|
|
24
|
+
|
|
25
|
+
- :func:`~sage.plot.plot3d.list_plot3d.list_plot3d_array_of_arrays`- A 3-dimensional plot of a surface defined by a list of lists defining points in 3-dimensional space
|
|
26
|
+
|
|
27
|
+
- :func:`~sage.plot.plot3d.list_plot3d.list_plot3d_tuples` -- a 3-dimensional plot of a surface defined by a list of points in 3-dimensional space
|
|
28
|
+
|
|
29
|
+
The following classes for basic shapes are supported:
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
- :class:`~sage.plot.plot3d.shapes.Box` -- a box given its three magnitudes
|
|
33
|
+
|
|
34
|
+
- :class:`~sage.plot.plot3d.shapes.Cone` -- a cone, with base in the xy-plane pointing up the z-axis
|
|
35
|
+
|
|
36
|
+
- :class:`~sage.plot.plot3d.shapes.Cylinder` -- a cylinder, with base in the xy-plane pointing up the z-axis
|
|
37
|
+
|
|
38
|
+
- :class:`~sage.plot.plot3d.shapes2.Line` -- a 3d line joining a sequence of points
|
|
39
|
+
|
|
40
|
+
- :class:`~sage.plot.plot3d.shapes.Sphere` -- a sphere centered at the origin
|
|
41
|
+
|
|
42
|
+
- :class:`~sage.plot.plot3d.shapes.Text` -- a text label attached to a point in 3d space
|
|
43
|
+
|
|
44
|
+
- :class:`~sage.plot.plot3d.shapes.Torus` -- a 3d torus
|
|
45
|
+
|
|
46
|
+
- :class:`~sage.plot.plot3d.shapes2.Point` -- a position in 3d, represented by a sphere of fixed size
|
|
47
|
+
|
|
48
|
+
|
|
49
|
+
The following plotting functions for basic shapes are supported
|
|
50
|
+
|
|
51
|
+
|
|
52
|
+
- :func:`~sage.plot.plot3d.shapes.ColorCube` -- a cube with given size and sides with given colors
|
|
53
|
+
|
|
54
|
+
- :func:`~sage.plot.plot3d.shapes.LineSegment` -- a line segment, which is drawn as a cylinder from start to end with given radius
|
|
55
|
+
|
|
56
|
+
- :func:`~sage.plot.plot3d.shapes2.line3d` -- a 3d line joining a sequence of points
|
|
57
|
+
|
|
58
|
+
- :func:`~sage.plot.plot3d.shapes.arrow3d` -- a 3d arrow
|
|
59
|
+
|
|
60
|
+
- :func:`~sage.plot.plot3d.shapes2.point3d` -- a point or list of points in 3d space
|
|
61
|
+
|
|
62
|
+
- :func:`~sage.plot.plot3d.shapes2.bezier3d` -- a 3d bezier path
|
|
63
|
+
|
|
64
|
+
- :func:`~sage.plot.plot3d.shapes2.frame3d` -- a frame in 3d
|
|
65
|
+
|
|
66
|
+
- :func:`~sage.plot.plot3d.shapes2.frame_labels` -- labels for a given frame in 3d
|
|
67
|
+
|
|
68
|
+
- :func:`~sage.plot.plot3d.shapes2.polygon3d` -- draw a polygon in 3d
|
|
69
|
+
|
|
70
|
+
- :func:`~sage.plot.plot3d.shapes2.polygons3d` -- draw the union of several polygons in 3d
|
|
71
|
+
|
|
72
|
+
- :func:`~sage.plot.plot3d.shapes2.ruler` -- draw a ruler in 3d, with major and minor ticks
|
|
73
|
+
|
|
74
|
+
- :func:`~sage.plot.plot3d.shapes2.ruler_frame` -- draw a frame made of 3d rulers, with major and minor ticks
|
|
75
|
+
|
|
76
|
+
- :func:`~sage.plot.plot3d.shapes2.sphere` -- plot of a sphere given center and radius
|
|
77
|
+
|
|
78
|
+
- :func:`~sage.plot.plot3d.shapes2.text3d` -- 3d text
|
|
79
|
+
|
|
80
|
+
Sage also supports platonic solids with the following functions:
|
|
81
|
+
|
|
82
|
+
|
|
83
|
+
- :func:`~sage.plot.plot3d.platonic.tetrahedron`
|
|
84
|
+
|
|
85
|
+
- :func:`~sage.plot.plot3d.platonic.cube`
|
|
86
|
+
|
|
87
|
+
- :func:`~sage.plot.plot3d.platonic.octahedron`
|
|
88
|
+
|
|
89
|
+
- :func:`~sage.plot.plot3d.platonic.dodecahedron`
|
|
90
|
+
|
|
91
|
+
- :func:`~sage.plot.plot3d.platonic.icosahedron`
|
|
92
|
+
|
|
93
|
+
Different viewers are supported: a web-based interactive viewer using the
|
|
94
|
+
Three.js JavaScript library (the default), Jmol, and the Tachyon ray tracer.
|
|
95
|
+
The viewer is invoked by adding the keyword argument
|
|
96
|
+
``viewer='threejs'`` (respectively ``'jmol'`` or ``'tachyon'``)
|
|
97
|
+
to the command ``show()`` on any three-dimensional graphic.
|
|
98
|
+
|
|
99
|
+
|
|
100
|
+
- :class:`~sage.plot.plot3d.tachyon.Tachyon` -- create a scene the can be rendered using the Tachyon ray tracer
|
|
101
|
+
|
|
102
|
+
- :class:`~sage.plot.plot3d.tachyon.Axis_aligned_box` -- box with axis-aligned edges with the given min and max coordinates
|
|
103
|
+
|
|
104
|
+
- :class:`~sage.plot.plot3d.tachyon.Cylinder` -- an infinite cylinder
|
|
105
|
+
|
|
106
|
+
- :class:`~sage.plot.plot3d.tachyon.FCylinder` -- a finite cylinder
|
|
107
|
+
|
|
108
|
+
- :class:`~sage.plot.plot3d.tachyon.FractalLandscape`- axis-aligned fractal landscape
|
|
109
|
+
|
|
110
|
+
- :class:`~sage.plot.plot3d.tachyon.Light` -- represents lighting objects
|
|
111
|
+
|
|
112
|
+
- :class:`~sage.plot.plot3d.tachyon.ParametricPlot` -- parametric plot routines
|
|
113
|
+
|
|
114
|
+
- :class:`~sage.plot.plot3d.tachyon.Plane` -- an infinite plane
|
|
115
|
+
|
|
116
|
+
- :class:`~sage.plot.plot3d.tachyon.Ring` -- an annulus of zero thickness
|
|
117
|
+
|
|
118
|
+
- :class:`~sage.plot.plot3d.tachyon.Sphere`- a sphere
|
|
119
|
+
|
|
120
|
+
- :class:`~sage.plot.plot3d.tachyon.TachyonSmoothTriangle` -- a triangle along with a normal vector, which is used for smoothing
|
|
121
|
+
|
|
122
|
+
- :class:`~sage.plot.plot3d.tachyon.TachyonTriangle` -- basic triangle class
|
|
123
|
+
|
|
124
|
+
- :class:`~sage.plot.plot3d.tachyon.TachyonTriangleFactory` -- class to produce triangles of various rendering types
|
|
125
|
+
|
|
126
|
+
- :class:`~sage.plot.plot3d.tachyon.Texfunc` -- creates a texture function
|
|
127
|
+
|
|
128
|
+
- :class:`~sage.plot.plot3d.tachyon.Texture` -- stores texture information
|
|
129
|
+
|
|
130
|
+
- :func:`~sage.plot.plot3d.tachyon.tostr` -- converts vector information to a space-separated string
|
|
131
|
+
"""
|