saiph: update granularity experiment and R script

This commit is contained in:
2021-02-23 12:13:52 +01:00
parent 37e11c749f
commit e0fbbe32a6
2 changed files with 107 additions and 7 deletions

View File

@@ -42,7 +42,7 @@ png("box.png", width=w*ppi, height=h*ppi, res=ppi)
p = ggplot(data=D, aes(x=nby, y=tnorm, color=bad)) +
# Labels
labs(x="nby", y="Normalized time",
labs(x="nb{y-z}", y="Normalized time",
title=sprintf("Saiph-Heat3D normalized time"),
subtitle=input_file) +
@@ -82,16 +82,16 @@ png("scatter.png", width=w*ppi, height=h*ppi, res=ppi)
## Create the plot with the normalized time vs nblocks
p = ggplot(D, aes(x=nby, y=time)) +
labs(x="nby", y="Time (s)",
title=sprintf("Saiph-Heat3D granularity"),
subtitle=input_file) +
labs(x="nb{y-z}", y="Time (s)",
title=sprintf("Saiph-Heat3D granularity"),
subtitle=input_file) +
theme_bw() +
theme(plot.subtitle=element_text(size=8)) +
theme(legend.position = c(0.5, 0.88)) +
geom_point(shape=21, size=3) +
#scale_x_continuous(trans=log2_trans()) +
scale_y_continuous(trans=log2_trans())
geom_point(shape=21, size=3)
#+ scale_x_continuous(trans=log2_trans())
#+ scale_y_continuous(trans=log2_trans())
# Render the plot
print(p)