From c785be16ee2d6eee6b033ebbaace963202b46ab5 Mon Sep 17 00:00:00 2001 From: sfop Date: Fri, 17 Jun 2016 11:13:48 +0200 Subject: [PATCH] Closedown --- script/Alignment/Gun_solenoid_alignment.py | 1 + script/test/MultiplePlot.py | 5 +---- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/script/Alignment/Gun_solenoid_alignment.py b/script/Alignment/Gun_solenoid_alignment.py index 58d83d5..e249fd9 100755 --- a/script/Alignment/Gun_solenoid_alignment.py +++ b/script/Alignment/Gun_solenoid_alignment.py @@ -101,6 +101,7 @@ finally: # take the result of the scan and do the plots p = plot(r.getReadable(2), xdata=r.getReadable(1), title = "Centroid excursion")[0] +#add_convex_hull_plot ("Centroid excursion", r.getReadable(1),r.getReadable(2), "Name") # save the entry in the logbook msg = str(r) diff --git a/script/test/MultiplePlot.py b/script/test/MultiplePlot.py index 4da5bae..4067866 100644 --- a/script/test/MultiplePlot.py +++ b/script/test/MultiplePlot.py @@ -2,11 +2,8 @@ import random clear_convex_hull_plot("test") -x=[] -y=[] for step in range(1,5): - x=[] - y=[] + x,y=[],[] for i in range(20): x.append(random.random() * 100 / step) y.append(random.random() * 100/ step)