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

@ -20,4 +20,7 @@ plot <- ggplot(data, aes(x = benchmark, y = faults, fill = resulttype)) +
labs(x = "Benchmark", y = "Faults", fill = "Result Type") + labs(x = "Benchmark", y = "Faults", fill = "Result Type") +
theme_minimal() theme_minimal()
ggsave(paste(experiment, "/single_result.svg", sep = ""), plot = plot) ggsave(
paste(experiment, "/single_result.svg", sep = ""),
plot = plot,
)

View File

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