.. _sphx_glr_gallery_mplot3d:
.. _mplot3d_example:
.. _mplot3d-examples-index:
3D plotting
===========
.. raw:: html
.. raw:: html
.. only:: html
.. image:: /gallery/mplot3d/images/thumb/sphx_glr_2dcollections3d_thumb.png
:alt: Plot 2D data on 3D plot
:ref:`sphx_glr_gallery_mplot3d_2dcollections3d.py`
.. raw:: html
Plot 2D data on 3D plot
.. raw:: html
.. only:: html
.. image:: /gallery/mplot3d/images/thumb/sphx_glr_3d_bars_thumb.png
:alt: Demo of 3D bar charts
:ref:`sphx_glr_gallery_mplot3d_3d_bars.py`
.. raw:: html
Demo of 3D bar charts
.. raw:: html
.. only:: html
.. image:: /gallery/mplot3d/images/thumb/sphx_glr_bars3d_thumb.png
:alt: Create 2D bar graphs in different planes
:ref:`sphx_glr_gallery_mplot3d_bars3d.py`
.. raw:: html
Create 2D bar graphs in different planes
.. raw:: html
.. only:: html
.. image:: /gallery/mplot3d/images/thumb/sphx_glr_box3d_thumb.png
:alt: 3D box surface plot
:ref:`sphx_glr_gallery_mplot3d_box3d.py`
.. raw:: html
3D box surface plot
.. raw:: html
.. only:: html
.. image:: /gallery/mplot3d/images/thumb/sphx_glr_contour3d_thumb.png
:alt: Demonstrates plotting contour (level) curves in 3D
:ref:`sphx_glr_gallery_mplot3d_contour3d.py`
.. raw:: html
Demonstrates plotting contour (level) curves in 3D
.. raw:: html
.. only:: html
.. image:: /gallery/mplot3d/images/thumb/sphx_glr_contour3d_2_thumb.png
:alt: Demonstrates plotting contour (level) curves in 3D using the extend3d option
:ref:`sphx_glr_gallery_mplot3d_contour3d_2.py`
.. raw:: html
Demonstrates plotting contour (level) curves in 3D using the extend3d option
.. raw:: html
.. only:: html
.. image:: /gallery/mplot3d/images/thumb/sphx_glr_contour3d_3_thumb.png
:alt: Projecting contour profiles onto a graph
:ref:`sphx_glr_gallery_mplot3d_contour3d_3.py`
.. raw:: html
Projecting contour profiles onto a graph
.. raw:: html
.. only:: html
.. image:: /gallery/mplot3d/images/thumb/sphx_glr_contourf3d_thumb.png
:alt: Filled contours
:ref:`sphx_glr_gallery_mplot3d_contourf3d.py`
.. raw:: html
Filled contours
.. raw:: html
.. only:: html
.. image:: /gallery/mplot3d/images/thumb/sphx_glr_contourf3d_2_thumb.png
:alt: Projecting filled contour onto a graph
:ref:`sphx_glr_gallery_mplot3d_contourf3d_2.py`
.. raw:: html
Projecting filled contour onto a graph
.. raw:: html
.. only:: html
.. image:: /gallery/mplot3d/images/thumb/sphx_glr_custom_shaded_3d_surface_thumb.png
:alt: Custom hillshading in a 3D surface plot
:ref:`sphx_glr_gallery_mplot3d_custom_shaded_3d_surface.py`
.. raw:: html
Custom hillshading in a 3D surface plot
.. raw:: html
.. only:: html
.. image:: /gallery/mplot3d/images/thumb/sphx_glr_errorbar3d_thumb.png
:alt: 3D errorbars
:ref:`sphx_glr_gallery_mplot3d_errorbar3d.py`
.. raw:: html
3D errorbars
.. raw:: html
.. only:: html
.. image:: /gallery/mplot3d/images/thumb/sphx_glr_hist3d_thumb.png
:alt: Create 3D histogram of 2D data
:ref:`sphx_glr_gallery_mplot3d_hist3d.py`
.. raw:: html
Create 3D histogram of 2D data
.. raw:: html
.. only:: html
.. image:: /gallery/mplot3d/images/thumb/sphx_glr_lines3d_thumb.png
:alt: Parametric Curve
:ref:`sphx_glr_gallery_mplot3d_lines3d.py`
.. raw:: html
Parametric Curve
.. raw:: html
.. only:: html
.. image:: /gallery/mplot3d/images/thumb/sphx_glr_lorenz_attractor_thumb.png
:alt: Lorenz Attractor
:ref:`sphx_glr_gallery_mplot3d_lorenz_attractor.py`
.. raw:: html
Lorenz Attractor
.. raw:: html
.. only:: html
.. image:: /gallery/mplot3d/images/thumb/sphx_glr_mixed_subplots_thumb.png
:alt: 2D and 3D *Axes* in same *Figure*
:ref:`sphx_glr_gallery_mplot3d_mixed_subplots.py`
.. raw:: html
2D and 3D *Axes* in same *Figure*
.. raw:: html
.. only:: html
.. image:: /gallery/mplot3d/images/thumb/sphx_glr_offset_thumb.png
:alt: Automatic Text Offsetting
:ref:`sphx_glr_gallery_mplot3d_offset.py`
.. raw:: html
Automatic Text Offsetting
.. raw:: html
.. only:: html
.. image:: /gallery/mplot3d/images/thumb/sphx_glr_pathpatch3d_thumb.png
:alt: Draw flat objects in 3D plot
:ref:`sphx_glr_gallery_mplot3d_pathpatch3d.py`
.. raw:: html
Draw flat objects in 3D plot
.. raw:: html
.. only:: html
.. image:: /gallery/mplot3d/images/thumb/sphx_glr_polys3d_thumb.png
:alt: Generate polygons to fill under 3D line graph
:ref:`sphx_glr_gallery_mplot3d_polys3d.py`
.. raw:: html
Generate polygons to fill under 3D line graph
.. raw:: html
.. only:: html
.. image:: /gallery/mplot3d/images/thumb/sphx_glr_projections_thumb.png
:alt: 3D plot projection types
:ref:`sphx_glr_gallery_mplot3d_projections.py`
.. raw:: html
3D plot projection types
.. raw:: html
.. only:: html
.. image:: /gallery/mplot3d/images/thumb/sphx_glr_quiver3d_thumb.png
:alt: 3D quiver plot
:ref:`sphx_glr_gallery_mplot3d_quiver3d.py`
.. raw:: html
3D quiver plot
.. raw:: html
.. only:: html
.. image:: /gallery/mplot3d/images/thumb/sphx_glr_rotate_axes3d_sgskip_thumb.png
:alt: Rotating a 3D plot
:ref:`sphx_glr_gallery_mplot3d_rotate_axes3d_sgskip.py`
.. raw:: html
Rotating a 3D plot
.. raw:: html
.. only:: html
.. image:: /gallery/mplot3d/images/thumb/sphx_glr_scatter3d_thumb.png
:alt: 3D scatterplot
:ref:`sphx_glr_gallery_mplot3d_scatter3d.py`
.. raw:: html
3D scatterplot
.. raw:: html
.. only:: html
.. image:: /gallery/mplot3d/images/thumb/sphx_glr_stem3d_demo_thumb.png
:alt: 3D stem
:ref:`sphx_glr_gallery_mplot3d_stem3d_demo.py`
.. raw:: html
3D stem
.. raw:: html
.. only:: html
.. image:: /gallery/mplot3d/images/thumb/sphx_glr_subplot3d_thumb.png
:alt: 3D plots as subplots
:ref:`sphx_glr_gallery_mplot3d_subplot3d.py`
.. raw:: html
3D plots as subplots
.. raw:: html
.. only:: html
.. image:: /gallery/mplot3d/images/thumb/sphx_glr_surface3d_thumb.png
:alt: 3D surface (colormap)
:ref:`sphx_glr_gallery_mplot3d_surface3d.py`
.. raw:: html
3D surface (colormap)
.. raw:: html
.. only:: html
.. image:: /gallery/mplot3d/images/thumb/sphx_glr_surface3d_2_thumb.png
:alt: 3D surface (solid color)
:ref:`sphx_glr_gallery_mplot3d_surface3d_2.py`
.. raw:: html
3D surface (solid color)
.. raw:: html
.. only:: html
.. image:: /gallery/mplot3d/images/thumb/sphx_glr_surface3d_3_thumb.png
:alt: 3D surface (checkerboard)
:ref:`sphx_glr_gallery_mplot3d_surface3d_3.py`
.. raw:: html
3D surface (checkerboard)
.. raw:: html
.. only:: html
.. image:: /gallery/mplot3d/images/thumb/sphx_glr_surface3d_radial_thumb.png
:alt: 3D surface with polar coordinates
:ref:`sphx_glr_gallery_mplot3d_surface3d_radial.py`
.. raw:: html
3D surface with polar coordinates
.. raw:: html
.. only:: html
.. image:: /gallery/mplot3d/images/thumb/sphx_glr_text3d_thumb.png
:alt: Text annotations in 3D
:ref:`sphx_glr_gallery_mplot3d_text3d.py`
.. raw:: html
Text annotations in 3D
.. raw:: html
.. only:: html
.. image:: /gallery/mplot3d/images/thumb/sphx_glr_tricontour3d_thumb.png
:alt: Triangular 3D contour plot
:ref:`sphx_glr_gallery_mplot3d_tricontour3d.py`
.. raw:: html
Triangular 3D contour plot
.. raw:: html
.. only:: html
.. image:: /gallery/mplot3d/images/thumb/sphx_glr_tricontourf3d_thumb.png
:alt: Triangular 3D filled contour plot
:ref:`sphx_glr_gallery_mplot3d_tricontourf3d.py`
.. raw:: html
Triangular 3D filled contour plot
.. raw:: html
.. only:: html
.. image:: /gallery/mplot3d/images/thumb/sphx_glr_trisurf3d_thumb.png
:alt: Triangular 3D surfaces
:ref:`sphx_glr_gallery_mplot3d_trisurf3d.py`
.. raw:: html
Triangular 3D surfaces
.. raw:: html
.. only:: html
.. image:: /gallery/mplot3d/images/thumb/sphx_glr_trisurf3d_2_thumb.png
:alt: More triangular 3D surfaces
:ref:`sphx_glr_gallery_mplot3d_trisurf3d_2.py`
.. raw:: html
More triangular 3D surfaces
.. raw:: html
.. only:: html
.. image:: /gallery/mplot3d/images/thumb/sphx_glr_view_planes_3d_thumb.png
:alt: Primary 3D view planes
:ref:`sphx_glr_gallery_mplot3d_view_planes_3d.py`
.. raw:: html
Primary 3D view planes
.. raw:: html
.. only:: html
.. image:: /gallery/mplot3d/images/thumb/sphx_glr_voxels_thumb.png
:alt: 3D voxel / volumetric plot
:ref:`sphx_glr_gallery_mplot3d_voxels.py`
.. raw:: html
3D voxel / volumetric plot
.. raw:: html
.. only:: html
.. image:: /gallery/mplot3d/images/thumb/sphx_glr_voxels_numpy_logo_thumb.png
:alt: 3D voxel plot of the numpy logo
:ref:`sphx_glr_gallery_mplot3d_voxels_numpy_logo.py`
.. raw:: html
3D voxel plot of the numpy logo
.. raw:: html
.. only:: html
.. image:: /gallery/mplot3d/images/thumb/sphx_glr_voxels_rgb_thumb.png
:alt: 3D voxel / volumetric plot with rgb colors
:ref:`sphx_glr_gallery_mplot3d_voxels_rgb.py`
.. raw:: html
3D voxel / volumetric plot with rgb colors
.. raw:: html
.. only:: html
.. image:: /gallery/mplot3d/images/thumb/sphx_glr_voxels_torus_thumb.png
:alt: 3D voxel / volumetric plot with cylindrical coordinates
:ref:`sphx_glr_gallery_mplot3d_voxels_torus.py`
.. raw:: html
3D voxel / volumetric plot with cylindrical coordinates
.. raw:: html
.. only:: html
.. image:: /gallery/mplot3d/images/thumb/sphx_glr_wire3d_thumb.png
:alt: 3D wireframe plot
:ref:`sphx_glr_gallery_mplot3d_wire3d.py`
.. raw:: html
3D wireframe plot
.. raw:: html
.. only:: html
.. image:: /gallery/mplot3d/images/thumb/sphx_glr_wire3d_animation_sgskip_thumb.png
:alt: Animating a 3D wireframe plot
:ref:`sphx_glr_gallery_mplot3d_wire3d_animation_sgskip.py`
.. raw:: html
Animating a 3D wireframe plot
.. raw:: html
.. only:: html
.. image:: /gallery/mplot3d/images/thumb/sphx_glr_wire3d_zero_stride_thumb.png
:alt: 3D wireframe plots in one direction
:ref:`sphx_glr_gallery_mplot3d_wire3d_zero_stride.py`
.. raw:: html
3D wireframe plots in one direction
.. raw:: html
.. toctree::
:hidden:
/gallery/mplot3d/2dcollections3d
/gallery/mplot3d/3d_bars
/gallery/mplot3d/bars3d
/gallery/mplot3d/box3d
/gallery/mplot3d/contour3d
/gallery/mplot3d/contour3d_2
/gallery/mplot3d/contour3d_3
/gallery/mplot3d/contourf3d
/gallery/mplot3d/contourf3d_2
/gallery/mplot3d/custom_shaded_3d_surface
/gallery/mplot3d/errorbar3d
/gallery/mplot3d/hist3d
/gallery/mplot3d/lines3d
/gallery/mplot3d/lorenz_attractor
/gallery/mplot3d/mixed_subplots
/gallery/mplot3d/offset
/gallery/mplot3d/pathpatch3d
/gallery/mplot3d/polys3d
/gallery/mplot3d/projections
/gallery/mplot3d/quiver3d
/gallery/mplot3d/rotate_axes3d_sgskip
/gallery/mplot3d/scatter3d
/gallery/mplot3d/stem3d_demo
/gallery/mplot3d/subplot3d
/gallery/mplot3d/surface3d
/gallery/mplot3d/surface3d_2
/gallery/mplot3d/surface3d_3
/gallery/mplot3d/surface3d_radial
/gallery/mplot3d/text3d
/gallery/mplot3d/tricontour3d
/gallery/mplot3d/tricontourf3d
/gallery/mplot3d/trisurf3d
/gallery/mplot3d/trisurf3d_2
/gallery/mplot3d/view_planes_3d
/gallery/mplot3d/voxels
/gallery/mplot3d/voxels_numpy_logo
/gallery/mplot3d/voxels_rgb
/gallery/mplot3d/voxels_torus
/gallery/mplot3d/wire3d
/gallery/mplot3d/wire3d_animation_sgskip
/gallery/mplot3d/wire3d_zero_stride