How to Hjust & Vjust Aesthetics


Aesthetic parameters hjust and vjust are used for text layers (geom_text, geom_label) and defines horizontal and vertical justification. Values can be set as text or numeric:

Examples of hjust and vjust are on the following figure.

In addition, there are two special alignments – inward and outward. Inward always aligns text towards the center, and outward aligns it away from the center. Examples of these special alignment cases are on the following figures.