From b24505d33de0ecffde52450732a02e8a196cff28 Mon Sep 17 00:00:00 2001 From: Jody Klymak Date: Thu, 12 Oct 2017 21:31:04 -0700 Subject: [PATCH 1/2] Add pcolor and contour to tutorial/introductory/sample_plots --- tutorials/introductory/sample_plots.py | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/tutorials/introductory/sample_plots.py b/tutorials/introductory/sample_plots.py index a680678fb565..091936127205 100644 --- a/tutorials/introductory/sample_plots.py +++ b/tutorials/introductory/sample_plots.py @@ -36,6 +36,23 @@ Subplot +.. _screenshots_pcolormesh_demo + +Contouring and pseudocolor +========================== + +The :func:`~matplotlib.pyplot.pcolormesh` command can make a colored +representation of a two-dimensional array. The +:func:`~matplotlib.pyplot.contour` command is another way to representation +the same data: + +.. figure:: ../../gallery/images_contours_and_fields/images/sphx_glr_pcolormesh_levels_001.png + :target: ../../gallery/images_contours_and_fields/pcolormesh_levels.html + :align: center + :scale: 50 + + Contour and Pcolormesh + .. _screenshots_histogram_demo: Histograms From 7aaa222f7df7cc1bad4f4a8fd3c9c2bfe9057e05 Mon Sep 17 00:00:00 2001 From: Jody Klymak Date: Thu, 12 Oct 2017 21:48:02 -0700 Subject: [PATCH 2/2] Add pcolor and contour to tutorial/introductory/sample_plots --- tutorials/introductory/sample_plots.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tutorials/introductory/sample_plots.py b/tutorials/introductory/sample_plots.py index 091936127205..d5ad7cfe8d3c 100644 --- a/tutorials/introductory/sample_plots.py +++ b/tutorials/introductory/sample_plots.py @@ -36,14 +36,14 @@ Subplot -.. _screenshots_pcolormesh_demo +.. _screenshots_pcolormesh_demo: Contouring and pseudocolor ========================== The :func:`~matplotlib.pyplot.pcolormesh` command can make a colored representation of a two-dimensional array. The -:func:`~matplotlib.pyplot.contour` command is another way to representation +:func:`~matplotlib.pyplot.contour` command is another way to represent the same data: .. figure:: ../../gallery/images_contours_and_fields/images/sphx_glr_pcolormesh_levels_001.png @@ -51,7 +51,7 @@ :align: center :scale: 50 - Contour and Pcolormesh + Contour and Pcolormesh .. _screenshots_histogram_demo: