diff --git a/simulations/enzymeCost/nutrientCost/0.1/0.1.avg b/simulations/enzymeCost/nutrientCost/0.1.avg similarity index 100% rename from simulations/enzymeCost/nutrientCost/0.1/0.1.avg rename to simulations/enzymeCost/nutrientCost/0.1.avg diff --git a/simulations/enzymeCost/nutrientCost/0.2/0.2.avg b/simulations/enzymeCost/nutrientCost/0.2.avg similarity index 100% rename from simulations/enzymeCost/nutrientCost/0.2/0.2.avg rename to simulations/enzymeCost/nutrientCost/0.2.avg diff --git a/simulations/enzymeCost/nutrientCost/0.3/0.3.avg b/simulations/enzymeCost/nutrientCost/0.3.avg similarity index 100% rename from simulations/enzymeCost/nutrientCost/0.3/0.3.avg rename to simulations/enzymeCost/nutrientCost/0.3.avg diff --git a/simulations/enzymeCost/nutrientCost/0.4/0.4.avg b/simulations/enzymeCost/nutrientCost/0.4.avg similarity index 100% rename from simulations/enzymeCost/nutrientCost/0.4/0.4.avg rename to simulations/enzymeCost/nutrientCost/0.4.avg diff --git a/simulations/enzymeCost/nutrientCost/0.5/0.5.avg b/simulations/enzymeCost/nutrientCost/0.5.avg similarity index 100% rename from simulations/enzymeCost/nutrientCost/0.5/0.5.avg rename to simulations/enzymeCost/nutrientCost/0.5.avg diff --git a/simulations/enzymeCost/nutrientCost/0.6/0.6.avg b/simulations/enzymeCost/nutrientCost/0.6.avg similarity index 100% rename from simulations/enzymeCost/nutrientCost/0.6/0.6.avg rename to simulations/enzymeCost/nutrientCost/0.6.avg diff --git a/simulations/enzymeCost/nutrientCost/0.7/0.7.avg b/simulations/enzymeCost/nutrientCost/0.7.avg similarity index 100% rename from simulations/enzymeCost/nutrientCost/0.7/0.7.avg rename to simulations/enzymeCost/nutrientCost/0.7.avg diff --git a/simulations/enzymeCost/nutrientCost/0.8/0.8.avg b/simulations/enzymeCost/nutrientCost/0.8.avg similarity index 100% rename from simulations/enzymeCost/nutrientCost/0.8/0.8.avg rename to simulations/enzymeCost/nutrientCost/0.8.avg diff --git a/simulations/enzymeCost/nutrientCost/0.9/0.9.avg b/simulations/enzymeCost/nutrientCost/0.9.avg similarity index 100% rename from simulations/enzymeCost/nutrientCost/0.9/0.9.avg rename to simulations/enzymeCost/nutrientCost/0.9.avg diff --git a/simulations/enzymeCost/nutrientCost/1.0/1.0.avg b/simulations/enzymeCost/nutrientCost/1.0.avg similarity index 100% rename from simulations/enzymeCost/nutrientCost/1.0/1.0.avg rename to simulations/enzymeCost/nutrientCost/1.0.avg diff --git a/simulations/enzymeCost/nutrientCost/Fitness_vs_e_d_mu.png b/simulations/enzymeCost/nutrientCost/Fitness_vs_e_d_mu.png new file mode 100644 index 0000000..f3de39b Binary files /dev/null and b/simulations/enzymeCost/nutrientCost/Fitness_vs_e_d_mu.png differ diff --git a/simulations/enzymeCost/nutrientCost/Fitness_vs_num_compounds.png b/simulations/enzymeCost/nutrientCost/Fitness_vs_num_compounds.png new file mode 100644 index 0000000..2c87038 Binary files /dev/null and b/simulations/enzymeCost/nutrientCost/Fitness_vs_num_compounds.png differ diff --git a/simulations/enzymeCost/nutrientCost/plot.fish b/simulations/enzymeCost/nutrientCost/plot.fish new file mode 100755 index 0000000..faea2e3 --- /dev/null +++ b/simulations/enzymeCost/nutrientCost/plot.fish @@ -0,0 +1,36 @@ +#!/usr/bin/env fish + +echo " +set datafile separator \",\" +set xlabel '$argv[1]' +set ylabel '$argv[3]' +set term png +set output '$argv[5]' +set title '$argv[6]' +set key outside right + +plot \ +'0.1.avg' using $argv[2]:$argv[4] title '0.1' pt 5,\ +'0.2.avg' using $argv[2]:$argv[4] title '0.2' pt 5,\ +'0.3.avg' using $argv[2]:$argv[4] title '0.3' pt 5,\ +'0.4.avg' using $argv[2]:$argv[4] title '0.4' pt 5,\ +'0.5.avg' using $argv[2]:$argv[4] title '0.5' pt 5,\ +'0.6.avg' using $argv[2]:$argv[4] title '0.6' pt 5,\ +'0.7.avg' using $argv[2]:$argv[4] title '0.7' pt 5,\ +'0.8.avg' using $argv[2]:$argv[4] title '0.8' pt 5,\ +'0.9.avg' using $argv[2]:$argv[4] title '0.9' pt 5,\ +'1.0.avg' using $argv[2]:$argv[4] title '1.0' pt 5 +" | gnuplot + + + + + + + + + + + + + diff --git a/simulations/enzymeCost/staticCost/0.00/0.00.avg b/simulations/enzymeCost/staticCost/0.00.avg similarity index 100% rename from simulations/enzymeCost/staticCost/0.00/0.00.avg rename to simulations/enzymeCost/staticCost/0.00.avg diff --git a/simulations/enzymeCost/staticCost/0.02/0.02.avg b/simulations/enzymeCost/staticCost/0.02.avg similarity index 100% rename from simulations/enzymeCost/staticCost/0.02/0.02.avg rename to simulations/enzymeCost/staticCost/0.02.avg diff --git a/simulations/enzymeCost/staticCost/0.04/0.04.avg b/simulations/enzymeCost/staticCost/0.04.avg similarity index 100% rename from simulations/enzymeCost/staticCost/0.04/0.04.avg rename to simulations/enzymeCost/staticCost/0.04.avg diff --git a/simulations/enzymeCost/staticCost/0.06/0.06.avg b/simulations/enzymeCost/staticCost/0.06.avg similarity index 100% rename from simulations/enzymeCost/staticCost/0.06/0.06.avg rename to simulations/enzymeCost/staticCost/0.06.avg diff --git a/simulations/enzymeCost/staticCost/0.08/0.08.avg b/simulations/enzymeCost/staticCost/0.08.avg similarity index 100% rename from simulations/enzymeCost/staticCost/0.08/0.08.avg rename to simulations/enzymeCost/staticCost/0.08.avg diff --git a/simulations/enzymeCost/staticCost/0.10/0.10.avg b/simulations/enzymeCost/staticCost/0.10.avg similarity index 100% rename from simulations/enzymeCost/staticCost/0.10/0.10.avg rename to simulations/enzymeCost/staticCost/0.10.avg diff --git a/simulations/enzymeCost/staticCost/0.12/0.12.avg b/simulations/enzymeCost/staticCost/0.12.avg similarity index 100% rename from simulations/enzymeCost/staticCost/0.12/0.12.avg rename to simulations/enzymeCost/staticCost/0.12.avg diff --git a/simulations/enzymeCost/staticCost/0.14/0.14.avg b/simulations/enzymeCost/staticCost/0.14.avg similarity index 100% rename from simulations/enzymeCost/staticCost/0.14/0.14.avg rename to simulations/enzymeCost/staticCost/0.14.avg diff --git a/simulations/enzymeCost/staticCost/0.16/0.16.avg b/simulations/enzymeCost/staticCost/0.16.avg similarity index 100% rename from simulations/enzymeCost/staticCost/0.16/0.16.avg rename to simulations/enzymeCost/staticCost/0.16.avg diff --git a/simulations/enzymeCost/staticCost/0.18/0.18.avg b/simulations/enzymeCost/staticCost/0.18.avg similarity index 100% rename from simulations/enzymeCost/staticCost/0.18/0.18.avg rename to simulations/enzymeCost/staticCost/0.18.avg diff --git a/simulations/enzymeCost/staticCost/0.20/0.20.avg b/simulations/enzymeCost/staticCost/0.20.avg similarity index 100% rename from simulations/enzymeCost/staticCost/0.20/0.20.avg rename to simulations/enzymeCost/staticCost/0.20.avg diff --git a/simulations/enzymeCost/staticCost/Fitness_vs_e_d_mu.png b/simulations/enzymeCost/staticCost/Fitness_vs_e_d_mu.png new file mode 100644 index 0000000..497f893 Binary files /dev/null and b/simulations/enzymeCost/staticCost/Fitness_vs_e_d_mu.png differ diff --git a/simulations/enzymeCost/staticCost/Fitness_vs_num_compounds.png b/simulations/enzymeCost/staticCost/Fitness_vs_num_compounds.png new file mode 100644 index 0000000..a444032 Binary files /dev/null and b/simulations/enzymeCost/staticCost/Fitness_vs_num_compounds.png differ diff --git a/simulations/enzymeCost/staticCost/plot.fish b/simulations/enzymeCost/staticCost/plot.fish new file mode 100755 index 0000000..b4b527a --- /dev/null +++ b/simulations/enzymeCost/staticCost/plot.fish @@ -0,0 +1,24 @@ +#!/usr/bin/env fish + +echo " +set datafile separator \",\" +set xlabel '$argv[1]' +set ylabel '$argv[3]' +set term png +set output '$argv[5]' +set title '$argv[6]' +set key outside right + +plot \ +'0.00.avg' using $argv[2]:$argv[4] title '0.00' pt 5,\ +'0.02.avg' using $argv[2]:$argv[4] title '0.02' pt 5,\ +'0.04.avg' using $argv[2]:$argv[4] title '0.04' pt 5,\ +'0.06.avg' using $argv[2]:$argv[4] title '0.06' pt 5,\ +'0.08.avg' using $argv[2]:$argv[4] title '0.08' pt 5,\ +'0.10.avg' using $argv[2]:$argv[4] title '0.10' pt 5,\ +'0.12.avg' using $argv[2]:$argv[4] title '0.12' pt 5,\ +'0.14.avg' using $argv[2]:$argv[4] title '0.14' pt 5,\ +'0.16.avg' using $argv[2]:$argv[4] title '0.16' pt 5,\ +'0.18.avg' using $argv[2]:$argv[4] title '0.18' pt 5,\ +'0.20.avg' using $argv[2]:$argv[4] title '0.20' pt 5 +" | gnuplot