Justification codes
To place plot embellishments, such as scalebars, directional roses, colorbars, legends, text, or images on a figure, two points have to be specified: a point somewhere on the figure (reference point) and a point on the feature (anchor point). For both, users can use a two-character code, a combination of a vertical code and a horizontal code (order-independent):
Vertical: T(op), M(iddle), B(ottom)
Horizontal: L(eft), C(entre), R(ight)
For example, "TL"
means Top Left.
The possible nine justification codes are visualized in the sketch below:
For a non-rectangular geographic basemap, the justification codes refer to the invisible, rectangular map bounding box:
Plot embellishments can be abstracted as rectangles. Here, the justification codes are shown exemplary for a colorbar.