Skip to content

Commit a134490

Browse files
Update viz.Rmd
1 parent 5cf4118 commit a134490

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

source/viz.Rmd

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -974,7 +974,7 @@ it would be redundant with an already-existing
974974
caption or surrounding context (e.g., in a slide presentation with annotations).
975975
But if you decide to include one, a good plot title should provide the take home message
976976
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."
978978

979979
To make these final adjustments we will use the `labs` function rather than the `xlab` and `ylab` functions
980980
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,
991991
labs(x = "Size (1000 square mi)",
992992
y = "Landmass",
993993
fill = "Type",
994-
title = "Earth's seven largest landmasses are continents") +
994+
title = "Earth's twelve largest landmasses") +
995995
theme(text = element_text(size = 10))
996996
997997
islands_bar

0 commit comments

Comments
 (0)