diff scripts/score_plot.py @ 2071:84411745a981

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 <b.deman@qmul.ac.uk>
date Mon, 10 Aug 2015 18:45:45 +0200
parents ccc17bb3a597
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