Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit f14e90d

Browse files
committed
Add example titles.
1 parent bfbf0ca commit f14e90d

16 files changed

+33
-6
lines changed

examples/mplot3d/quiver3d_demo.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
'''
2+
3D quiver plot
3+
24
Demonstrates plotting directional arrows at points on a 3d meshgrid.
35
'''
46

examples/mplot3d/rotate_axes3d_demo.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
'''
2-
A very simple animation of a rotating 3D plot.
2+
Rotating a 3D plot
33
4-
See wire3d_animation_demo for another simple example of animating a 3D plot.
4+
A very simple animation of a rotating 3D plot. See wire3d_animation_demo for
5+
another simple example of animating a 3D plot.
56
'''
67

78
from mpl_toolkits.mplot3d import axes3d

examples/mplot3d/scatter3d_demo.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
'''
2+
3D scatterplot
3+
24
Demonstration of a basic scatterplot in 3D.
35
'''
46

examples/mplot3d/subplot3d_demo.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
'''
2+
3D plots as subplots
3+
24
Demonstrate including 3D plots as subplots.
35
'''
46

examples/mplot3d/surface3d_demo.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
'''
2+
3D surface (color map)
3+
24
Demonstrates plotting a 3D surface colored with the coolwarm color map.
35
The surface is made opaque by using antialiased=False.
46

examples/mplot3d/surface3d_demo2.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
'''
2+
3D surface (solid color)
3+
24
Demonstrates a very basic plot of a 3D surface using a solid color.
35
'''
46

examples/mplot3d/surface3d_demo3.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
'''
2+
3D surface (checkerboard)
3+
24
Demonstrates plotting a 3D surface colored in a checkerboard pattern.
35
'''
46

examples/mplot3d/surface3d_radial_demo.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
'''
2+
3D surface with polar coordinates
3+
24
Demonstrates plotting a surface defined in polar coordinates.
35
Uses the reversed version of the YlGnBu color map.
46
Also demonstrates writing axis labels with latex math mode.

examples/mplot3d/text3d_demo.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
'''
2-
Demonstrates the placement of text annotations on a 3D plot.
2+
Text annotations in 3D
33
4+
Demonstrates the placement of text annotations on a 3D plot.
45
Functionality shown:
56
- Using the text function with three types of 'zdir' values: None,
67
an axis name (ex. 'x'), or a direction tuple (ex. (1, 1, 0)).

examples/mplot3d/tricontour3d_demo.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
"""
2-
Contour plots of unstructured triangular grids.
2+
Triangular 3D contour plot
33
4+
Contour plots of unstructured triangular grids.
45
The data used is the same as in the second plot of trisurf3d_demo2.
56
tricontourf3d_demo shows the filled version of this example.
67
"""

examples/mplot3d/tricontourf3d_demo.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
"""
2-
Filled contour plots of unstructured triangular grids.
2+
Triangular 3D filled contour plot
33
4+
Filled contour plots of unstructured triangular grids.
45
The data used is the same as in the second plot of trisurf3d_demo2.
56
tricontour3d_demo shows the unfilled version of this example.
67
"""

examples/mplot3d/trisurf3d_demo.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
'''
2+
Triangular 3D surfaces
3+
24
Plot a 3D surface with a triangular mesh.
35
'''
46

examples/mplot3d/trisurf3d_demo2.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
'''
2-
Two additional examples of plotting surfaces with triangular mesh.
2+
More triangular 3D surfaces
33
4+
Two additional examples of plotting surfaces with triangular mesh.
45
The first demonstrates use of plot_trisurf's triangles argument, and the
56
second sets a Triangulation object's mask and passes the object directly
67
to plot_trisurf.

examples/mplot3d/wire3d_animation_demo.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
"""
2+
Rotating 3D wireframe plot
3+
24
A very simple 'animation' of a 3D plot. See also rotate_axes3d_demo.
35
"""
46

examples/mplot3d/wire3d_demo.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
'''
2+
3D wireframe plot
3+
24
A very basic demonstration of a wireframe plot.
35
'''
46

examples/mplot3d/wire3d_zero_stride.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
'''
2+
3D wireframe plots in one direction
3+
24
Demonstrates that setting rstride or cstride to 0 causes wires to not be
35
generated in the corresponding direction.
46
'''

0 commit comments

Comments
 (0)