1 Painter: Controlling the visual features of an axis
3 The visual features of an axis (such as ticklengths, linewidths, distances of
4 the labels, their orientation, text attributes, etc.) are controlled by its
5 painter. You can modify these attributes by creating a painter explicitly. ...
7 While the axis painter has quite some parameters to adjust the output, here we
8 only change its width, add an arrow and alter the ticks: By default, ticks are
9 stroked only towards the inside of the graph (in the path examples there is no
10 graph but don't mind). The labels and the axis title are plotted outside of the
11 graph. Futhermore, the axis title (when present as in this example) is rotated
12 along the axis (without writing it upside down), while the tick labels are not
15 In this example we set an `outerticklength`. Together with the
16 `innerticklength`, which by default is set to the same value, the ticks are
17 stroked across the axis. As it is common to sub-components of the axis, you
18 need to pass the adapted instances (stored in the variable `mypainter` here) to
19 the axis in its constructor.
21 ! In this example there is no tick at the end due to the axis range. You can
22 suppress individual ticks by the `manualticks` axis parameter with ticklevel
23 and labellevel being zero.