|
11 | 11 | the limits of custom figure generation, it helps to have an understanding of
|
12 | 12 | these objects so you can reuse the existing transformations Matplotlib makes
|
13 | 13 | available to you, or create your own (see :mod:`matplotlib.transforms`). The
|
14 |
| -table below summarizes the some useful coordinate systems, the description of |
15 |
| -that system, and the transformation object for going from that coordinate |
| 14 | +table below summarizes some useful coordinate systems, a description of |
| 15 | +each system, and the transformation object for going from each coordinate |
16 | 16 | system to the *display* coordinates. In the ``Transformation Object`` column,
|
17 | 17 | ``ax`` is a :class:`~matplotlib.axes.Axes` instance, and ``fig`` is a
|
18 | 18 | :class:`~matplotlib.figure.Figure` instance.
|
|
47 | 47 | | |(width, height) is the top right | |
|
48 | 48 | | |of the figure in inches. | |
|
49 | 49 | +----------------+-----------------------------------+-----------------------------+
|
50 |
| -|"xaxis", |Blended coordinate systems; use |``ax.get_xaxis_transform()``,| |
51 |
| -|"yaxis" |data coordinates on one of the axis|``ax.get_yaxis_transform()`` | |
| 50 | +|"xaxis", |Blended coordinate systems, using |``ax.get_xaxis_transform()``,| |
| 51 | +|"yaxis" |data coordinates on one direction |``ax.get_yaxis_transform()`` | |
52 | 52 | | |and axes coordinates on the other. | |
|
53 | 53 | +----------------+-----------------------------------+-----------------------------+
|
54 | 54 | |"display" |The native coordinate system of the|``None``, or |
|
|
60 | 60 | | |The exact interpertation of the | |
|
61 | 61 | | |units depends on the back end. For | |
|
62 | 62 | | |example it is pixels for Agg and | |
|
63 |
| -| |pts for svg/pdf. | | |
| 63 | +| |points for svg/pdf. | | |
64 | 64 | +----------------+-----------------------------------+-----------------------------+
|
65 | 65 |
|
66 | 66 |
|
67 | 67 |
|
68 | 68 |
|
69 | 69 |
|
70 | 70 | The `~matplotlib.transforms.Transform` objects are naive to the source and
|
71 |
| -destination coordinate systems, however the objects refereed to in the table |
| 71 | +destination coordinate systems, however the objects referred to in the table |
72 | 72 | above are constructed to take inputs in their coordinate system, and transform
|
73 | 73 | the input to the *display* coordinate system. That is why the *display*
|
74 | 74 | coordinate system has ``None`` for the ``Transformation Object`` column -- it
|
|
0 commit comments