Axis placement using origin and anchor

You can read more about the positioning system in the documentation on axis positioning.

The Positions of origin and anchor

The following figure shows the origin positions on the graph. The gray rectangle shows the area where the graph is drawn. Typically used origins are marked with red points.

Positioning Cartesian axes

In the following examples, the values of xAnchor and yAnchor for all axes are set to 0.

Positioning relative Cartesian axes

In this example, the values of the origin and the anchor are set as follows: