Skip to content

Commit 54f1612

Browse files
authored
Merge pull request #26328 from story645/plot_types
[DOC]: improve consistency of plot types gallery
2 parents 9bba195 + ea51f3c commit 54f1612

File tree

7 files changed

+24
-22
lines changed

7 files changed

+24
-22
lines changed

doc/sphinxext/gallery_order.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,8 @@
3838

3939
plot_types_order = [
4040
'../galleries/plot_types/basic',
41-
'../galleries/plot_types/arrays',
4241
'../galleries/plot_types/stats',
42+
'../galleries/plot_types/arrays',
4343
'../galleries/plot_types/unstructured',
4444
'../galleries/plot_types/3D',
4545
UNSORTED

galleries/plot_types/3D/README.rst

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
.. _3D_plots:
22

3-
3D
4-
--
3+
3D and volumetric data
4+
----------------------
55

6-
3D plots using the `mpl_toolkits.mplot3d` library.
6+
Plots of three-dimensional :math:`(x,y,z)`, surface :math:`f(x,y)=z`, and
7+
volumetric :math:`V_{x, y, z}` data using the `mpl_toolkits.mplot3d` library.

galleries/plot_types/README.rst

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,7 @@
55
Plot types
66
==========
77

8-
Overview of many common plotting commands in Matplotlib.
8+
Overview of many common plotting commands provided by Matplotlib.
99

10-
Note that we have stripped all labels, but they are present by default.
11-
See the `gallery <../gallery/index.html>`_ for many more examples and
10+
See the `gallery <../gallery/index.html>`_ for more examples and
1211
the `tutorials page <../tutorials/index.html>`_ for longer examples.
Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
.. _array_plots:
22

3-
Plots of arrays and fields
4-
--------------------------
3+
Gridded data:
4+
-------------
55

6-
Plotting for arrays of data ``Z(x, y)`` and fields ``U(x, y), V(x, y)``.
6+
Plots of arrays and images :math:`Z_{i, j}` and fields :math:`U_{i, j}, V_{i, j}`
7+
on `regular grids <https://en.wikipedia.org/wiki/Regular_grid>`_ and
8+
corresponding coordinate grids :math:`X_{i,j}, Y_{i,j}`.

galleries/plot_types/basic/README.rst

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
.. _basic_plots:
22

3-
Basic
4-
-----
3+
Pairwise data
4+
-------------
55

6-
Basic plot types, usually y versus x.
6+
Plots of pairwise :math:`(x, y)`, tabular :math:`(var\_0, \cdots, var\_n)`,
7+
and functional :math:`f(x)=y` data.

galleries/plot_types/stats/README.rst

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
.. _stats_plots:
22

3-
Statistics plots
4-
----------------
3+
Statistical distributions
4+
-------------------------
55

6-
Plots for statistical analysis.
6+
Plots of the distribution of at least one variable in a dataset. Some of these
7+
methods also compute the distributions.
Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11
.. _unstructured_plots:
22

3-
Unstructured coordinates
4-
-------------------------
3+
Irregularly gridded data
4+
------------------------
55

6-
Sometimes we collect data ``z`` at coordinates ``(x,y)`` and want to visualize
7-
as a contour. Instead of gridding the data and then using
8-
`~.axes.Axes.contour`, we can use a triangulation algorithm and fill the
9-
triangles.
6+
Plots of data :math:`Z_{x, y}` on `unstructured grids <https://en.wikipedia.org/wiki/Unstructured_grid>`_ ,
7+
unstructured coordinate grids :math:`(x, y)`, and 2D functions :math:`f(x, y) = z`.

0 commit comments

Comments
 (0)