diff --git a/bin/data-plots.R b/bin/data-plots.R index 22e64a0..2edff92 100644 --- a/bin/data-plots.R +++ b/bin/data-plots.R @@ -61,7 +61,7 @@ ggplot(data = d_total %>% filter(Date >= as.Date("2000-01-01")), color = source_name)) + geom_line() + geom_point(size = 0.3) + - scale_x_date(date_breaks = "1 years", + scale_x_date(date_breaks = "2 years", date_minor_breaks = "3 months", date_labels = "%Y") + scale_y_continuous(labels = scales::comma) + @@ -71,7 +71,7 @@ ggplot(data = d_total %>% filter(Date >= as.Date("2000-01-01")), color = "Source") + theme(legend.position="bottom") -ggsave("plots/total-over-time.png", width = 6, height = 4) +ggsave("plots/total-over-time-2000.png", width = 6, height = 4) ##### By license class ##### ggplot(data = d_total_long %>% filter(lclass != "Total"), diff --git a/plots/total-over-time-2000.png b/plots/total-over-time-2000.png new file mode 100644 index 0000000..f0811f5 Binary files /dev/null and b/plots/total-over-time-2000.png differ diff --git a/plots/total-over-time.png b/plots/total-over-time.png deleted file mode 100644 index dca85eb..0000000 Binary files a/plots/total-over-time.png and /dev/null differ