@@ -357,7 +357,7 @@ co2_line <- ggplot(co2_df, aes(x = date_measured, y = ppm)) +
357
357
geom_line() +
358
358
xlab("Year") +
359
359
ylab("Atmospheric CO2 (ppm)") +
360
- theme(text = element_text(size = 14 ))
360
+ theme(text = element_text(size = 12 ))
361
361
362
362
co2_line
363
363
```
@@ -399,7 +399,7 @@ co2_line <- ggplot(co2_df, aes(x = date_measured, y = ppm)) +
399
399
xlab("Year") +
400
400
ylab("Atmospheric CO2 (ppm)") +
401
401
xlim(c(date("1990-01-01"), date("1993-12-01"))) +
402
- theme(text = element_text(size = 14 ))
402
+ theme(text = element_text(size = 12 ))
403
403
404
404
co2_line
405
405
```
@@ -478,7 +478,7 @@ labels and make the font more readable:
478
478
faithful_scatter <- ggplot(faithful, aes(x = waiting, y = eruptions)) +
479
479
geom_point() +
480
480
labs(x = "Waiting Time (mins)", y = "Eruption Duration (mins)") +
481
- theme(text = element_text(size = 14 ))
481
+ theme(text = element_text(size = 12 ))
482
482
483
483
faithful_scatter
484
484
```
@@ -527,7 +527,7 @@ ggplot(can_lang, aes(x = most_at_home, y = mother_tongue)) +
527
527
geom_point() +
528
528
labs(x = "Language spoken most at home \n (number of Canadian residents)",
529
529
y = "Mother tongue \n (number of Canadian residents)") +
530
- theme(text = element_text(size = 14 ))
530
+ theme(text = element_text(size = 12 ))
531
531
```
532
532
533
533
``` {r mother-tongue-hidden-summaries, echo = FALSE, warning = FALSE, message = FALSE}
@@ -594,7 +594,7 @@ ggplot(can_lang, aes(x = most_at_home, y = mother_tongue)) +
594
594
geom_point() +
595
595
labs(x = "Language spoken most at home \n (number of Canadian residents)",
596
596
y = "Mother tongue \n (number of Canadian residents)") +
597
- theme(text = element_text(size = 14 )) +
597
+ theme(text = element_text(size = 12 )) +
598
598
scale_x_log10(labels = label_comma()) +
599
599
scale_y_log10(labels = label_comma())
600
600
```
@@ -649,7 +649,7 @@ ggplot(can_lang, aes(x = most_at_home_percent, y = mother_tongue_percent)) +
649
649
geom_point() +
650
650
labs(x = "Language spoken most at home \n (percentage of Canadian residents)",
651
651
y = "Mother tongue \n (percentage of Canadian residents)") +
652
- theme(text = element_text(size = 14 )) +
652
+ theme(text = element_text(size = 12 )) +
653
653
scale_x_log10(labels = comma) +
654
654
scale_y_log10(labels = comma)
655
655
```
@@ -708,7 +708,7 @@ ggplot(can_lang, aes(x = most_at_home_percent,
708
708
geom_point() +
709
709
labs(x = "Language spoken most at home \n (percentage of Canadian residents)",
710
710
y = "Mother tongue \n (percentage of Canadian residents)") +
711
- theme(text = element_text(size = 14 )) +
711
+ theme(text = element_text(size = 12 )) +
712
712
scale_x_log10(labels = comma) +
713
713
scale_y_log10(labels = comma)
714
714
```
@@ -734,7 +734,7 @@ ggplot(can_lang, aes(x = most_at_home_percent,
734
734
geom_point() +
735
735
labs(x = "Language spoken most at home \n (percentage of Canadian residents)",
736
736
y = "Mother tongue \n (percentage of Canadian residents)") +
737
- theme(text = element_text(size = 14 ),
737
+ theme(text = element_text(size = 12 ),
738
738
legend.position = "top",
739
739
legend.direction = "vertical") +
740
740
scale_x_log10(labels = comma) +
@@ -781,7 +781,7 @@ ggplot(can_lang, aes(x = most_at_home_percent,
781
781
geom_point() +
782
782
labs(x = "Language spoken most at home \n (percentage of Canadian residents)",
783
783
y = "Mother tongue \n (percentage of Canadian residents)") +
784
- theme(text = element_text(size = 14 ),
784
+ theme(text = element_text(size = 12 ),
785
785
legend.position = "top",
786
786
legend.direction = "vertical") +
787
787
scale_x_log10(labels = comma) +
@@ -850,7 +850,7 @@ ggplot(can_lang, aes(
850
850
geom_point(alpha = 0.6) + # set the transparency of the points
851
851
labs(x = "Language spoken most at home \n (percentage of Canadian residents)",
852
852
y = "Mother tongue \n (percentage of Canadian residents)") +
853
- theme(text = element_text(size = 14 )) +
853
+ theme(text = element_text(size = 12 )) +
854
854
scale_x_log10(labels = comma) +
855
855
scale_y_log10(labels = comma) +
856
856
scale_color_brewer(palette = "RdYlBu")
@@ -967,7 +967,7 @@ islands_bar <- ggplot(islands_top12,
967
967
fill = landmass_type)) +
968
968
geom_bar(stat = "identity") +
969
969
labs(x = "Size (1000 square mi)", y = "Landmass", fill = "Type") +
970
- theme(text = element_text(size = 14 ))
970
+ theme(text = element_text(size = 12 ))
971
971
972
972
islands_bar
973
973
```
@@ -1185,7 +1185,7 @@ morley_hist <- ggplot(morley_rel,
1185
1185
labs(x = "Relative Accuracy (%)",
1186
1186
y = "# Measurements",
1187
1187
fill = "Experiment ID") +
1188
- theme(text = element_text(size = 14 ))
1188
+ theme(text = element_text(size = 12 ))
1189
1189
1190
1190
morley_hist
1191
1191
```
0 commit comments