aboutsummaryrefslogtreecommitdiff
path: root/qolab/data/trace.py
diff options
context:
space:
mode:
authorEugeniy E. Mikhailov <evgmik@gmail.com>2021-12-03 14:53:00 -0500
committerEugeniy E. Mikhailov <evgmik@gmail.com>2021-12-03 14:53:00 -0500
commit8cff383e7eeb015400386c54e8397acfa4a42fbe (patch)
tree36017e29680b1ffaa5cce330618b4bdfdc3691b8 /qolab/data/trace.py
parent8c67614da984778fa10249d9bbf91719a750f1f4 (diff)
downloadpyExpControl-8cff383e7eeb015400386c54e8397acfa4a42fbe.tar.gz
pyExpControl-8cff383e7eeb015400386c54e8397acfa4a42fbe.zip
added attributes for time trace
Diffstat (limited to 'qolab/data/trace.py')
-rw-r--r--qolab/data/trace.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/qolab/data/trace.py b/qolab/data/trace.py
index 4a2e623..adde8a8 100644
--- a/qolab/data/trace.py
+++ b/qolab/data/trace.py
@@ -39,7 +39,7 @@ class TraceSetSameX:
def plot(self):
import matplotlib.pyplot as plt
for k, tr in self.traces.items():
- tr.plot()
+ plt.plot(self.x.values, tr.values, label=tr.descr)
plt.xlabel(self.x.label)
plt.legend()