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

Skip to content

DOC added titles to the rest of the 3D plots #8306

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 19, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions examples/mplot3d/contour3d_demo.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
'''
Demonstrates plotting contour (level) curves in 3D.
"""
==================================================
Demonstrates plotting contour (level) curves in 3D
==================================================

This is like a contour plot in 2D except that the f(x,y)=c curve is plotted
on the plane z=c.
'''
"""

from mpl_toolkits.mplot3d import axes3d
import matplotlib.pyplot as plt
Expand Down
4 changes: 3 additions & 1 deletion examples/mplot3d/contour3d_demo2.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
'''
Demonstrates plotting contour (level) curves in 3D using the extend3d option.
============================================================================
Demonstrates plotting contour (level) curves in 3D using the extend3d option
============================================================================

This modification of the contour3d_demo example uses extend3d=True to
extend the curves vertically into 'ribbons'.
Expand Down
4 changes: 4 additions & 0 deletions examples/mplot3d/contour3d_demo3.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
'''
========================================
Projecting contour profiles onto a graph
========================================

Demonstrates displaying a 3D surface while also projecting contour 'profiles'
onto the 'walls' of the graph.

Expand Down
4 changes: 4 additions & 0 deletions examples/mplot3d/contourf3d_demo.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
'''
===============
Filled contours
===============

contourf differs from contour in that it creates filled contours, ie.
a discrete number of colours are used to shade the domain.

Expand Down
4 changes: 4 additions & 0 deletions examples/mplot3d/contourf3d_demo2.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
'''
======================================
Projecting filled contour onto a graph
======================================

Demonstrates displaying a 3D surface while also projecting filled contour
'profiles' onto the 'walls' of the graph.

Expand Down
4 changes: 4 additions & 0 deletions examples/mplot3d/custom_shaded_3d_surface.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
"""
=======================================
Custom hillshading in a 3D surface plot
=======================================

Demonstrates using custom hillshading in a 3D surface plot.
"""

Expand Down
4 changes: 4 additions & 0 deletions examples/mplot3d/lines3d_demo.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
'''
===================
3D parametric curve
===================

Demonstrating plotting a parametric curve in 3D.
'''

Expand Down
4 changes: 4 additions & 0 deletions examples/mplot3d/lorenz_attractor.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
'''
====================
The Lorenz Attractor
====================

Plot of the Lorenz Attractor based on Edward Lorenz's 1963 "Deterministic
Nonperiodic Flow" publication.
http://journals.ametsoc.org/doi/abs/10.1175/1520-0469%281963%29020%3C0130%3ADNF%3E2.0.CO%3B2
Expand Down
4 changes: 4 additions & 0 deletions examples/mplot3d/mixed_subplots_demo.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
"""
==================
2D and 3D subplots
==================

Demonstrate the mixing of 2d and 3d subplots.
"""

Expand Down
4 changes: 4 additions & 0 deletions examples/mplot3d/offset_demo.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
'''
===================
Offset text display
===================

This example demonstrates mplot3d's offset text display.
As one rotates the 3D figure, the offsets should remain oriented the
same way as the axis label, and should also be located "away"
Expand Down