Script execution

This commit is contained in:
sfop
2016-09-23 10:07:56 +02:00
parent d1daab2003
commit 166f7aa360
+3 -2
View File
@@ -10,10 +10,11 @@ if get_context().source == CommandSource.ui:
interval = 0.20
window = 40
p = plot(None)[0]
p.removeSeries(p.getSeries(0))
for s in p.getAllSeries():
p.removeSeries(s)
p.addSeries(LinePlotSeries("Data"))
if isinstance(dx, basestring):
dx = Channel(dx) if get_device(dx) is None else get_device(dx)
if isinstance(dy, basestring):