Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit fa30e20

Browse filesBrowse files
committed
DOC added titles to the rest of the 3D plots
1 parent a46b3ed commit fa30e20
Copy full SHA for fa30e20
Expand file treeCollapse file tree

10 files changed

+40
-4
lines changed

‎examples/mplot3d/contour3d_demo.py

Copy file name to clipboardExpand all lines: examples/mplot3d/contour3d_demo.py
+5-3Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
1-
'''
2-
Demonstrates plotting contour (level) curves in 3D.
1+
"""
2+
==================================================
3+
Demonstrates plotting contour (level) curves in 3D
4+
==================================================
35
46
This is like a contour plot in 2D except that the f(x,y)=c curve is plotted
57
on the plane z=c.
6-
'''
8+
"""
79

810
from mpl_toolkits.mplot3d import axes3d
911
import matplotlib.pyplot as plt

‎examples/mplot3d/contour3d_demo2.py

Copy file name to clipboardExpand all lines: examples/mplot3d/contour3d_demo2.py
+3-1Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
'''
2-
Demonstrates plotting contour (level) curves in 3D using the extend3d option.
2+
============================================================================
3+
Demonstrates plotting contour (level) curves in 3D using the extend3d option
4+
============================================================================
35
46
This modification of the contour3d_demo example uses extend3d=True to
57
extend the curves vertically into 'ribbons'.

‎examples/mplot3d/contour3d_demo3.py

Copy file name to clipboardExpand all lines: examples/mplot3d/contour3d_demo3.py
+4Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
11
'''
2+
========================================
3+
Projecting contour profiles onto a graph
4+
========================================
5+
26
Demonstrates displaying a 3D surface while also projecting contour 'profiles'
37
onto the 'walls' of the graph.
48

‎examples/mplot3d/contourf3d_demo.py

Copy file name to clipboardExpand all lines: examples/mplot3d/contourf3d_demo.py
+4Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
11
'''
2+
===============
3+
Filled contours
4+
===============
5+
26
contourf differs from contour in that it creates filled contours, ie.
37
a discrete number of colours are used to shade the domain.
48

‎examples/mplot3d/contourf3d_demo2.py

Copy file name to clipboardExpand all lines: examples/mplot3d/contourf3d_demo2.py
+4Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
11
'''
2+
======================================
3+
Projecting filled contour onto a graph
4+
======================================
5+
26
Demonstrates displaying a 3D surface while also projecting filled contour
37
'profiles' onto the 'walls' of the graph.
48

‎examples/mplot3d/custom_shaded_3d_surface.py

Copy file name to clipboardExpand all lines: examples/mplot3d/custom_shaded_3d_surface.py
+4Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
11
"""
2+
=======================================
3+
Custom hillshading in a 3D surface plot
4+
=======================================
5+
26
Demonstrates using custom hillshading in a 3D surface plot.
37
"""
48

‎examples/mplot3d/lines3d_demo.py

Copy file name to clipboardExpand all lines: examples/mplot3d/lines3d_demo.py
+4Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
11
'''
2+
===================
3+
3D parametric curve
4+
===================
5+
26
Demonstrating plotting a parametric curve in 3D.
37
'''
48

‎examples/mplot3d/lorenz_attractor.py

Copy file name to clipboardExpand all lines: examples/mplot3d/lorenz_attractor.py
+4Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
11
'''
2+
====================
3+
The Lorenz Attractor
4+
====================
5+
26
Plot of the Lorenz Attractor based on Edward Lorenz's 1963 "Deterministic
37
Nonperiodic Flow" publication.
48
http://journals.ametsoc.org/doi/abs/10.1175/1520-0469%281963%29020%3C0130%3ADNF%3E2.0.CO%3B2

‎examples/mplot3d/mixed_subplots_demo.py

Copy file name to clipboardExpand all lines: examples/mplot3d/mixed_subplots_demo.py
+4Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
11
"""
2+
==================
3+
2D and 3D subplots
4+
==================
5+
26
Demonstrate the mixing of 2d and 3d subplots.
37
"""
48

‎examples/mplot3d/offset_demo.py

Copy file name to clipboardExpand all lines: examples/mplot3d/offset_demo.py
+4Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
11
'''
2+
===================
3+
Offset text display
4+
===================
5+
26
This example demonstrates mplot3d's offset text display.
37
As one rotates the 3D figure, the offsets should remain oriented the
48
same way as the axis label, and should also be located "away"

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.