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

Skip to content

Commit d47dcce

Browse files
committed
Add example titles in sphinx-gallery style.
1 parent bfbf0ca commit d47dcce

16 files changed

+64
-0
lines changed

examples/mplot3d/quiver3d_demo.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
11
'''
2+
==============
3+
3D quiver plot
4+
==============
5+
26
Demonstrates plotting directional arrows at points on a 3d meshgrid.
37
'''
48

examples/mplot3d/rotate_axes3d_demo.py

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

examples/mplot3d/scatter3d_demo.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
11
'''
2+
==============
3+
3D scatterplot
4+
==============
5+
26
Demonstration of a basic scatterplot in 3D.
37
'''
48

examples/mplot3d/subplot3d_demo.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
11
'''
2+
====================
3+
3D plots as subplots
4+
====================
5+
26
Demonstrate including 3D plots as subplots.
37
'''
48

examples/mplot3d/surface3d_demo.py

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

examples/mplot3d/surface3d_demo2.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
11
'''
2+
========================
3+
3D surface (solid color)
4+
========================
5+
26
Demonstrates a very basic plot of a 3D surface using a solid color.
37
'''
48

examples/mplot3d/surface3d_demo3.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
11
'''
2+
=========================
3+
3D surface (checkerboard)
4+
=========================
5+
26
Demonstrates plotting a 3D surface colored in a checkerboard pattern.
37
'''
48

examples/mplot3d/surface3d_radial_demo.py

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

examples/mplot3d/text3d_demo.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
11
'''
2+
======================
3+
Text annotations in 3D
4+
======================
5+
26
Demonstrates the placement of text annotations on a 3D plot.
37
48
Functionality shown:

examples/mplot3d/tricontour3d_demo.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
11
"""
2+
==========================
3+
Triangular 3D contour plot
4+
==========================
5+
26
Contour plots of unstructured triangular grids.
37
48
The data used is the same as in the second plot of trisurf3d_demo2.

examples/mplot3d/tricontourf3d_demo.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
11
"""
2+
=================================
3+
Triangular 3D filled contour plot
4+
=================================
5+
26
Filled contour plots of unstructured triangular grids.
37
48
The data used is the same as in the second plot of trisurf3d_demo2.

examples/mplot3d/trisurf3d_demo.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
11
'''
2+
======================
3+
Triangular 3D surfaces
4+
======================
5+
26
Plot a 3D surface with a triangular mesh.
37
'''
48

examples/mplot3d/trisurf3d_demo2.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
11
'''
2+
===========================
3+
More triangular 3D surfaces
4+
===========================
5+
26
Two additional examples of plotting surfaces with triangular mesh.
37
48
The first demonstrates use of plot_trisurf's triangles argument, and the

examples/mplot3d/wire3d_animation_demo.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
11
"""
2+
==========================
3+
Rotating 3D wireframe plot
4+
==========================
5+
26
A very simple 'animation' of a 3D plot. See also rotate_axes3d_demo.
37
"""
48

examples/mplot3d/wire3d_demo.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
11
'''
2+
=================
3+
3D wireframe plot
4+
=================
5+
26
A very basic demonstration of a wireframe plot.
37
'''
48

examples/mplot3d/wire3d_zero_stride.py

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

0 commit comments

Comments
 (0)