Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion annotations.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ The main tool for labelling plots is `geom_text()`, which adds `label` text at t
```

- You can adjust the alignment of the text with the `hjust` ("left", "center", "right", "inward", "outward") and `vjust` ("bottom", "middle", "top", "inward", "outward") aesthetics.
The aligment is centered by default, but there are often good reasons to override this.
The alignment is centered by default, but there are often good reasons to override this.
One of the most useful alignments is "inward".
It aligns text towards the middle of the plot, which ensures that labels remain within the plot limits: \index{Font!justification}

Expand Down