From 329c96951078ae83947ade93dd4e7f76427936e2 Mon Sep 17 00:00:00 2001
From: Millian Poquet <millian.poquet@irit.fr>
Date: Thu, 9 May 2024 23:23:08 +0200
Subject: [PATCH] notebook: pdf->svg for binary reproducibility

---
 flake.nix                                | 1 +
 notebooks/simulation-output-analysis.Rmd | 4 ++--
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/flake.nix b/flake.nix
index 3b6a265..cf9e4f0 100644
--- a/flake.nix
+++ b/flake.nix
@@ -146,6 +146,7 @@
               pkgs.rPackages.rmarkdown
               pkgs.rPackages.rmdformats
               pkgs.rPackages.knitr
+              pkgs.rPackages.svglite
               pkgs.rPackages.tidyverse
               pkgs.rPackages.viridis
             ];
diff --git a/notebooks/simulation-output-analysis.Rmd b/notebooks/simulation-output-analysis.Rmd
index 1a81db2..d1f658c 100644
--- a/notebooks/simulation-output-analysis.Rmd
+++ b/notebooks/simulation-output-analysis.Rmd
@@ -274,7 +274,7 @@ data_nz %>%
     x="Job power estimator"
   ) +
   scale_fill_grey(start=0.8, end=1)
-ggsave("./fig4-sched-mean-power-distribution.pdf", width=8*scale, height=4*scale)
+ggsave("./fig4-sched-mean-power-distribution.svg", width=8*scale, height=4*scale)
 ```
 
 Here is the code that produces the summarized power underutilization values seen in Section 6.5 of the article.
@@ -317,7 +317,7 @@ data_nz %>%
     x="Job power estimator"
   ) +
   scale_fill_grey(start=0.8, end=1)
-ggsave("./fig5-sched-mtt-diff-distribution.pdf", width=8*scale, height=4*scale)
+ggsave("./fig5-sched-mtt-diff-distribution.svg", width=8*scale, height=4*scale)
 ```
 
 Here is the code that produces the summarized scheduling performance degradation values seen in Section 6.5 of the article.
-- 
GitLab