44****************
55mplot3d tutorial
66****************
7+ .. contents ::
8+ :backlinks: none
9+
10+ .. _mplot3d_getting_started :
711
812Getting started
913===============
@@ -26,24 +30,32 @@ add a new axes to it of type :class:`~mpl_toolkits.mplot3d.Axes3D`::
2630 ``ax = fig.add_subplot(111, projection='3d') ``
2731 to ``ax = Axes3D(fig) ``.
2832
33+ .. _plot3d :
34+
2935Line plots
3036====================
3137.. automethod :: Axes3D.plot
3238
3339.. plot :: mpl_examples/mplot3d/lines3d_demo.py
3440
41+ .. _scatter3d :
42+
3543Scatter plots
3644=============
3745.. automethod :: Axes3D.scatter
3846
3947.. plot :: mpl_examples/mplot3d/scatter3d_demo.py
4048
49+ .. _wireframe :
50+
4151Wireframe plots
4252===============
4353.. automethod :: Axes3D.plot_wireframe
4454
4555.. plot :: mpl_examples/mplot3d/wire3d_demo.py
4656
57+ .. _surface :
58+
4759Surface plots
4860=============
4961.. automethod :: Axes3D.plot_surface
@@ -52,6 +64,8 @@ Surface plots
5264.. plot :: mpl_examples/mplot3d/surface3d_demo2.py
5365.. plot :: mpl_examples/mplot3d/surface3d_demo3.py
5466
67+ .. _contour3d :
68+
5569Contour plots
5670=============
5771.. automethod :: Axes3D.contour
@@ -60,43 +74,60 @@ Contour plots
6074.. plot :: mpl_examples/mplot3d/contour3d_demo2.py
6175.. plot :: mpl_examples/mplot3d/contour3d_demo3.py
6276
77+ .. _contourf3d :
78+
6379Filled contour plots
6480====================
6581.. automethod :: Axes3D.contourf
6682
6783.. plot :: mpl_examples/mplot3d/contourf3d_demo.py
6884.. plot :: mpl_examples/mplot3d/contourf3d_demo2.py
6985
86+ .. versionadded :: 1.0.1
87+ The feature demoed in the second contourf3d example was enabled as a
88+ result of a bugfix for version 1.0.1.
89+
90+ .. _polygon3d :
91+
7092Polygon plots
7193====================
7294.. automethod :: Axes3D.add_collection3d
7395
7496.. plot :: mpl_examples/mplot3d/polys3d_demo.py
7597
98+ .. _bar3d :
99+
76100Bar plots
77101====================
78102.. automethod :: Axes3D.bar
79103
80104.. plot :: mpl_examples/mplot3d/bars3d_demo.py
81105
106+ .. _2dcollections3d :
107+
821082D plots in 3D
83109====================
84110.. plot :: mpl_examples/mplot3d/2dcollections3d_demo.py
85111
112+ .. _text3d :
113+
86114Text
87115====================
88116.. automethod :: Axes3D.text
89117
90118.. plot :: mpl_examples/mplot3d/text3d_demo.py
91119
120+ .. _3dsubplots :
121+
92122Subplotting
93123====================
94124Having multiple 3d plots in a single figure is the same
95- as it is for 2d plots. And you can mix 2d and 3d plots
96- into the same figure.
125+ as it is for 2d plots. Also, you can have both 2d and 3d plots
126+ in the same figure.
97127
98128.. versionadded :: 1.0.0
99- This feature was added in v1.0.0. Earlier version can not do this.
129+ Subplotting 3d plots was added in v1.0.0. Earlier version can not
130+ do this.
100131
101132.. plot :: mpl_examples/mplot3d/subplot3d_demo.py
102133.. plot :: mpl_examples/mplot3d/mixed_subplots_demo.py
0 commit comments