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

Tidying up and tweaking mplot3d examples [MEP12] #6690

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 6 commits into from
Oct 16, 2016
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
Prev Previous commit
Add example titles in sphinx-gallery style.
  • Loading branch information
TrishGillett committed Oct 16, 2016
commit d47dccebc9839294005527ae5ddc77672222551a
4 changes: 4 additions & 0 deletions 4 examples/mplot3d/quiver3d_demo.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
'''
==============
3D quiver plot
==============

Demonstrates plotting directional arrows at points on a 3d meshgrid.
'''

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

A very simple animation of a rotating 3D plot.

See wire3d_animation_demo for another simple example of animating a 3D plot.
Expand Down
4 changes: 4 additions & 0 deletions 4 examples/mplot3d/scatter3d_demo.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
'''
==============
3D scatterplot
==============

Demonstration of a basic scatterplot in 3D.
'''

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

Demonstrate including 3D plots as subplots.
'''

Expand Down
4 changes: 4 additions & 0 deletions 4 examples/mplot3d/surface3d_demo.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
'''
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A title on that PR could be "3D surfaces"

======================
3D surface (color map)
======================

Demonstrates plotting a 3D surface colored with the coolwarm color map.
The surface is made opaque by using antialiased=False.

Expand Down
4 changes: 4 additions & 0 deletions 4 examples/mplot3d/surface3d_demo2.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
'''
========================
3D surface (solid color)
========================

Demonstrates a very basic plot of a 3D surface using a solid color.
'''

Expand Down
4 changes: 4 additions & 0 deletions 4 examples/mplot3d/surface3d_demo3.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
'''
=========================
3D surface (checkerboard)
=========================

Demonstrates plotting a 3D surface colored in a checkerboard pattern.
'''

Expand Down
4 changes: 4 additions & 0 deletions 4 examples/mplot3d/surface3d_radial_demo.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
'''
=================================
3D surface with polar coordinates
=================================

Demonstrates plotting a surface defined in polar coordinates.
Uses the reversed version of the YlGnBu color map.
Also demonstrates writing axis labels with latex math mode.
Expand Down
4 changes: 4 additions & 0 deletions 4 examples/mplot3d/text3d_demo.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
'''
======================
Text annotations in 3D
======================

Demonstrates the placement of text annotations on a 3D plot.

Functionality shown:
Expand Down
4 changes: 4 additions & 0 deletions 4 examples/mplot3d/tricontour3d_demo.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
"""
==========================
Triangular 3D contour plot
==========================

Contour plots of unstructured triangular grids.

The data used is the same as in the second plot of trisurf3d_demo2.
Expand Down
4 changes: 4 additions & 0 deletions 4 examples/mplot3d/tricontourf3d_demo.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
"""
=================================
Triangular 3D filled contour plot
=================================

Filled contour plots of unstructured triangular grids.

The data used is the same as in the second plot of trisurf3d_demo2.
Expand Down
4 changes: 4 additions & 0 deletions 4 examples/mplot3d/trisurf3d_demo.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
'''
======================
Triangular 3D surfaces
======================

Plot a 3D surface with a triangular mesh.
'''

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

Two additional examples of plotting surfaces with triangular mesh.

The first demonstrates use of plot_trisurf's triangles argument, and the
Expand Down
4 changes: 4 additions & 0 deletions 4 examples/mplot3d/wire3d_animation_demo.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
"""
==========================
Rotating 3D wireframe plot
==========================

A very simple 'animation' of a 3D plot. See also rotate_axes3d_demo.
"""

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

A very basic demonstration of a wireframe plot.
'''

Expand Down
4 changes: 4 additions & 0 deletions 4 examples/mplot3d/wire3d_zero_stride.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
'''
===================================
3D wireframe plots in one direction
===================================

Demonstrates that setting rstride or cstride to 0 causes wires to not be
generated in the corresponding direction.
'''
Expand Down
Morty Proxy This is a proxified and sanitized view of the page, visit original site.