scatterplot: addresses in hex
This commit is contained in:
@ -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,
|
||||||
|
)
|
||||||
|
|||||||
@ -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,
|
||||||
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user