scatterplot: addresses in hex

This commit is contained in:
2026-04-23 17:55:57 +02:00
parent 59e36f6a7f
commit 7bd3d205c9
2 changed files with 11 additions and 2 deletions

View File

@ -19,8 +19,14 @@ tibble::glimpse(data)
plot <- ggplot(data, aes(x = fault_address, y = faults)) +
geom_point(aes(color = resulttype)) +
scale_x_continuous(
labels = function(x) sprintf("0x%X", as.integer(x))
) +
scale_y_log10() +
labs(x = "Address", y = "Faults", color = "Type") +
theme_minimal()
ggsave(paste(experiment, "/scatter.svg", sep = ""), plot = plot)
ggsave(
paste(experiment, "/scatter.svg", sep = ""),
plot = plot,
)