File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -974,7 +974,7 @@ it would be redundant with an already-existing
974
974
caption or surrounding context (e.g., in a slide presentation with annotations).
975
975
But if you decide to include one, a good plot title should provide the take home message
976
976
that you want readers to focus on, e.g., "Earth's seven largest landmasses are continents,"
977
- or a more general summary of the information displayed, e.g., "The twelve largest landmasses on Earth ."
977
+ or a more general summary of the information displayed, e.g., "Earth's twelve largest landmasses."
978
978
979
979
To make these final adjustments we will use the ` labs ` function rather than the ` xlab ` and ` ylab ` functions
980
980
we have seen earlier in this chapter, as ` labs ` lets us modify the legend label and title in addition to axis labels.
@@ -991,7 +991,7 @@ islands_bar <- ggplot(islands_top12,
991
991
labs(x = "Size (1000 square mi)",
992
992
y = "Landmass",
993
993
fill = "Type",
994
- title = "Earth's seven largest landmasses are continents ") +
994
+ title = "Earth's twelve largest landmasses") +
995
995
theme(text = element_text(size = 10))
996
996
997
997
islands_bar
You can’t perform that action at this time.
0 commit comments