Script execution
This commit is contained in:
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user