Script execution
This commit is contained in:
@@ -11,8 +11,10 @@ if get_context().source == CommandSource.ui:
|
||||
window = 40
|
||||
p = plot(None, "Data")[0]
|
||||
|
||||
if isinstance(dx, basestring): dx = Channel(dx)
|
||||
if isinstance(dy, basestring): dy = Channel(dy)
|
||||
if isinstance(dx, basestring):
|
||||
dx = Channel(dx) if get_device(dx) is None else get_device(dx)
|
||||
if isinstance(dy, basestring):
|
||||
dy = Channel(dy) if get_device(dy) is None else get_device(dy)
|
||||
|
||||
sd=p.getSeries(0)
|
||||
sd.setLinesVisible(False)
|
||||
|
||||
Reference in New Issue
Block a user