]> rtime.felk.cvut.cz Git - hubacji1/iamcar2.git/commitdiff
Fix rename when plot all scenarios
authorJiri Vlasak <hubacji1@fel.cvut.cz>
Thu, 6 Feb 2020 07:55:16 +0000 (08:55 +0100)
committerJiri Vlasak <hubacji1@fel.cvut.cz>
Thu, 6 Feb 2020 07:55:16 +0000 (08:55 +0100)
scripts/plot_all_scenarios.sh

index af657a4eacfe7606d8e9aa6e9461feeca110916b..effc0f22b82e459bd7a1d6699ed86063b4aa3899 100644 (file)
@@ -34,8 +34,8 @@ do
         shift
 done
 
-sed -i 's/sc\([0-9]_[0-9]\)\.json/\1/g' stats_*
-sed -i 's/sc\([0-9]_[0-9]\)\.json/\1/g' hist_*
+sed -i 's/sc\([0-9]\+_[0-9]\+\)\.json/\1/g' stats_*
+sed -i 's/sc\([0-9]\+_[0-9]\+\)\.json/\1/g' hist_*
 
 gnuplot $SF/plot_statistics_error.pl
 mv out.eps error.eps