Script execution
This commit is contained in:
@@ -109,11 +109,11 @@ def plot_cur_spectrum():
|
||||
try:
|
||||
#time.sleep(5.0)
|
||||
while get_context().state.running:
|
||||
if spectrum_series is None:
|
||||
print "create new plot"
|
||||
names = "Scienta spectrum"
|
||||
plots = plot(None, names, title="Online")
|
||||
spectrum_series = plots[0].getSeries(0)
|
||||
# if spectrum_series is None:
|
||||
# print "create new plot"
|
||||
# names = "Scienta spectrum"
|
||||
# plots = plot(None, names, title="Online")
|
||||
# spectrum_series = plots[0].getSeries(0)
|
||||
|
||||
y = Scienta.spectrum.take(100)
|
||||
x = Scienta.spectrumX
|
||||
|
||||
Reference in New Issue
Block a user