You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: viz.Rmd
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -898,7 +898,7 @@ the landmass sizes. So we have to pass the `stat = "identity"` argument to `geom
898
898
shown in Figure \@ref(fig:03-data-islands-bar).
899
899
\index{ggplot!geom\_bar}
900
900
901
-
```{r 03-data-islands-bar, warning=FALSE, message=FALSE, fig.width=5, fig.height=4, fig.align = "center", fig.cap = "Bar plot of all Earth's landmasses' size with squished labels."}
901
+
```{r 03-data-islands-bar, warning=FALSE, message=FALSE, fig.width=5, fig.height=3, fig.align = "center", fig.cap = "Bar plot of all Earth's landmasses' size with squished labels."}
902
902
islands_bar <- ggplot(islands_df, aes(x = landmass, y = size)) +
903
903
geom_bar(stat = "identity")
904
904
@@ -960,7 +960,7 @@ Thus we use the `fill` argument inside `labs` to change that to "Type."
960
960
Finally, we again \index{ggplot!reorder} use the `theme` function
961
961
to change the font size.
962
962
963
-
```{r 03-data-islands-bar-4, warning = FALSE, message = FALSE, fig.width=8, fig.align="center", fig.cap = "Bar plot of size for Earth's largest 12 landmasses colored by whether its a continent with clearer axes and labels."}
963
+
```{r 03-data-islands-bar-4, warning = FALSE, message = FALSE, fig.width=5, fig.height=3, fig.align="center", fig.cap = "Bar plot of size for Earth's largest 12 landmasses colored by whether its a continent with clearer axes and labels."}
0 commit comments