12.3.2. Axis2¶
This is a coordinate axis. Is not usually drawn alone, but part of a graph
12.3.2.1. Attributes¶
- .ticks : duple with the separation for major/minor ticks
- .ticktext : textattributes for the text
- .line : lineattributes for the axis line
- .cantilever : a duple with how much it continues after intersecting the other axis
- .width : how many space takes
- .label : label of the axis, by default, the units
- .mode : an anum {log, lin}, for logaritmic axe.
- .breaks : breaks in the axis
- .show : set to false, shows this axis
- .hidden : set to true, hides this axis. Complementary to .show
12.3.2.2. Examples:¶
(axis2.1):
graph c: .xRange -10 10
c.addSeries x^2 + 3
c.xAxis: .label "points for the function" .break ..from 2 ..to 3 ..width .3