diff scripts/score_plot.py @ 1065:b2492aeafe8b

Scripts: show which and how many markers not clicked or moved; option to plot timelines against 'audioholder time' (default) or 'total test time' (previously the only possibility)
author Brecht De Man <BrechtDeMan@users.noreply.github.com>
date Mon, 10 Aug 2015 18:45:45 +0200
parents 99cb3436759e
children a2a245542ae6
line wrap: on
line diff
--- a/scripts/score_plot.py	Fri Jul 24 18:59:39 2015 +0100
+++ b/scripts/score_plot.py	Mon Aug 10 18:45:45 2015 +0200
@@ -72,9 +72,16 @@
         # PLOT OPTIONS
         elif arg == 'leg' or arg == 'legend' or arg == '-l':
             if not enable_individual: 
-                print "WARNING: The 'legend' option is only relevant to plots of individual ratings"
+                print "WARNING: The 'legend' option is only relevant to plots of "+\
+                      "individual ratings"
             show_legend = True     # show all individual ratings
-            
+        elif arg.isnumeric():
+            if not enable_confidence: 
+                print "WARNING: The numeric confidence value is only relevant when "+\
+                      "confidence plot is enabled"
+            if float(arg)>0 and float(arg)<1:
+                confidence = float(arg)
+        
          # FOLDER NAME
          else: 
             # assume it's the folder name