[ Web Proxy ]
URL:
Viewing: https://matplotlib.org/stable/api/_as_gen/../_as_gen/matplotlib.pyplot.clabel.html [Back]  [Original]

matplotlib.pyplot.clabel — Matplotlib 3.11.2 documentation
Back to top
Search the docs ...:

matplotlib.pyplot.clabel#

matplotlib.pyplot.clabel(CS, levels=None, **kwargs)[source]#

Label a contour plot.

Adds labels to line contours in given ContourSet.

Parameters:
CSContourSet instance

Line contours to label.

levelsarray-like, optional

A list of level values, that should be labeled. The list must be a subset of CS.levels. If not given, all levels are labeled.

**kwargs

All other parameters are documented in clabel.

Notes

Note

This is the pyplot wrapper for axes.Axes.clabel.

Examples using matplotlib.pyplot.clabel#

[]

Contour Demo

Contour Demo
[]

Contour Label Demo

Contour Label Demo
[]

Contourf demo

Contourf demo
[]

Interactive functions

Interactive functions

Web Proxy Viewer  |  New URL  |  Original Page