Script execution

This commit is contained in:
x03daop
2017-04-12 12:04:06 +02:00
parent b14849d49c
commit 8476041dcf

View File

@@ -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