Fix years.
This commit is contained in:
parent
fee62c7451
commit
d7036e60c9
@ -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"),
|
||||
|
BIN
plots/total-over-time-2000.png
Normal file
BIN
plots/total-over-time-2000.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 160 KiB |
Binary file not shown.
Before Width: | Height: | Size: 168 KiB |
Loading…
Reference in New Issue
Block a user