From 902e5b4c193ba7906eba52df807b238e93601209 Mon Sep 17 00:00:00 2001 From: STEVAN Antoine <antoine.stevan@isae-supaero.fr> Date: Mon, 3 Jun 2024 07:51:10 +0000 Subject: [PATCH] add snippet to plot all "inbreeding" experiments (dragoon/komodo!139) --- bins/inbreeding/README.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/bins/inbreeding/README.md b/bins/inbreeding/README.md index 208f0e31..e747cd4f 100644 --- a/bins/inbreeding/README.md +++ b/bins/inbreeding/README.md @@ -39,3 +39,17 @@ inbreeding run --options $OPTS --prng-seed $PRNG_SEED let experiment = $"($PRNG_SEED)-($OPTS.environment)-($OPTS.k)-($OPTS.n)-($OPTS.nb_bytes)" inbreeding load $experiment | inbreeding plot ``` + +## plot all experiments +```bash +use bins/inbreeding/consts.nu CACHE +use bins/inbreeding + +const FIGURES_DIR = ($CACHE | path join figures) + +mkdir $FIGURES_DIR + +for exp in (inbreeding list) { + inbreeding load $exp | inbreeding plot --save ($FIGURES_DIR | path join $exp) +} +``` -- GitLab