matplotlib.axes.Axes.clabel#

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

Label a contour plot.

Adds labels to line contours in givenContourSet.

Parameters:
CSContourSet instance

Line contours to label.

levelsarray-like, optional

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

**kwargs

All other parameters are documented inclabel.

Examples usingmatplotlib.axes.Axes.clabel#

Contour Demo

Contour Demo

Contour Label Demo

Contour Label Demo

Contourf demo

Contourf demo

Contouring the solution space of optimizations

Contouring the solution space of optimizations

Patheffect Demo

Patheffect Demo

TickedStroke patheffect

TickedStroke patheffect