This line style is frequently used to represent constraints in optimization. The ticks may be used to indicate that one side of the line is invalid or to represent a closed boundary of a domain (i.e. a wall or the edge of a pipe).
The spacing, length, and angle of ticks can be controlled.
This line style is sometimes referred to as a hatched line.
See also the contour demo example
</gallery/lines_bars_and_markers/lines_with_ticks_demo>
.
See also the contours in optimization example
</gallery/images_contours_and_fields/contours_in_optimization_demo>
.
A line-based PathEffect which draws a path with a ticked style.
The following pages refer to to this document either explicitly or contain code examples using this.
matplotlib.patheffects.withTickedStroke
Hover to see nodes names; edges to Self not shown, Caped at 50 nodes.
Using a canvas is more power efficient and can get hundred of nodes ; but does not allow hyperlinks; , arrows or text (beyond on hover)
SVG is more flexible but power hungry; and does not scale well to 50 + nodes.
All aboves nodes referred to, (or are referred from) current nodes; Edges from Self to other have been omitted (or all nodes would be connected to the central node "self" which is not useful). Nodes are colored by the library they belong to, and scaled with the number of references pointing them