Update plot scaling.

This commit is contained in:
mattbk 2024-10-02 19:03:31 -05:00
parent 82c93e6689
commit 1a8ec40550
2 changed files with 2 additions and 2 deletions

View File

@ -333,7 +333,7 @@ ggplot(data = ae7q_actions %>% filter(date >= Sys.Date() - years(2)),
aes(x = date,
y = mean_30),
color = "black") +
scale_x_date(date_breaks = "3 months",
scale_x_date(date_breaks = "6 months",
date_minor_breaks = "1 months",
date_labels = "%Y-%m") +
facet_wrap(~action,
@ -347,4 +347,4 @@ ggplot(data = ae7q_actions %>% filter(date >= Sys.Date() - years(2)),
color = "Action") +
guides(color = "none")
ggsave("plots/actions-over-time-2-years.png", width = 6, height = 4)
ggsave("plots/actions-over-time-2-years.png", width = 9, height = 6)

Binary file not shown.

Before

Width:  |  Height:  |  Size: 399 KiB

After

Width:  |  Height:  |  Size: 753 KiB