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