aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/plot.bat
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2016-06-24 01:54:13 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2016-06-24 01:54:13 +0300
commit82a674e409fce161299efeb43e1176f869af64af (patch)
tree3b544bd96688f3847233e011452c754c38755116 /plot.bat
parentadd Pylint configuration (diff)
downloadsorting-algorithms-82a674e409fce161299efeb43e1176f869af64af.tar.gz
sorting-algorithms-82a674e409fce161299efeb43e1176f869af64af.zip
major refactoring
With the focus on (re)usability. That includes adding separate modules for plotting, input generation and things like that.
Diffstat (limited to '')
-rw-r--r--plot.bat15
1 files changed, 9 insertions, 6 deletions
diff --git a/plot.bat b/plot.bat
index ad7c4e9..f046087 100644
--- a/plot.bat
+++ b/plot.bat
@@ -27,14 +27,17 @@
set max=%DEFAULT_MAX%
)
-plot.py -l "%algorithm%" -a "%min%" -b "%max%" -r "%iterations%" ^
- -i ascending -o "%algorithm%_%iterations%_ascending_%min%_%max%.png" ^
+plot.py "%algorithm%" --min "%min%" --max "%max%" ^
+ --iterations "%iterations%" --input best ^
+ --output "%algorithm%_%iterations%_best_%min%_%max%.png" ^
|| exit /b !errorlevel!
-plot.py -l "%algorithm%" -a "%min%" -b "%max%" -r "%iterations%" ^
- -i random -o "%algorithm%_%iterations%_random_%min%_%max%.png" ^
+plot.py "%algorithm%" --min "%min%" --max "%max%" ^
+ --iterations "%iterations%" --input average ^
+ --output "%algorithm%_%iterations%_average_%min%_%max%.png" ^
|| exit /b !errorlevel!
-plot.py -l "%algorithm%" -a "%min%" -b "%max%" -r "%iterations%" ^
- -i descending -o "%algorithm%_%iterations%_descending_%min%_%max%.png" ^
+plot.py "%algorithm%" --min "%min%" --max "%max%" ^
+ --iterations "%iterations%" --input worst ^
+ --output "%algorithm%_%iterations%_worst_%min%_%max%.png" ^
|| exit /b !errorlevel!
@exit /b