Chart consistency + visual cleanup

This commit is contained in:
2026-07-26 23:04:36 +02:00
parent df83623101
commit aad3b85d8f
10 changed files with 326 additions and 293 deletions
+10 -4
View File
@@ -83,12 +83,18 @@ plot <- ggplot(
) +
geom_point(size = 2) +
geom_line() +
facet_wrap(~base_name, scales = "free_x") +
facet_wrap(~base_name) +
scale_y_log10(name = "Ratio (to C)") +
scale_x_discrete(name = "Marker") +
labs(color = "Variant") +
scale_x_discrete(name = "Fault Type") +
labs(
title = "Fault Count Ratios",
color = "Variant"
) +
theme_minimal() +
theme(axis.text.x = element_text(angle = 45, hjust = 1))
theme(
axis.text.x = element_text(angle = 90, hjust = 1),
plot.title = element_text(size = 14, face = "bold")
)
ggsave("injections/ratio_comparison.svg", plot = plot, width = 12, height = 8)
print("Saved ratio_comparison.svg")