diff options
-rw-r--r-- | qolab/data/trace.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/qolab/data/trace.py b/qolab/data/trace.py index 623b2af..8478447 100644 --- a/qolab/data/trace.py +++ b/qolab/data/trace.py @@ -12,6 +12,7 @@ class Trace: import matplotlib.pyplot as plt plt.plot(self.values, label=self.descr) plt.legend() + plt.grid() def header(self, prefix=''): header = [] @@ -40,6 +41,7 @@ class TraceXY: plt.plot(self.x.values, self.y.values, label=self.label) plt.legend() plt.xlabel(self.x.label) + plt.grid() def header(self, prefix=''): header = [] @@ -82,6 +84,7 @@ class TraceSetSameX: plt.plot(self.x.values, tr.values, label=tr.label) plt.xlabel(self.x.label) plt.legend() + plt.grid() def items(self): return (self.traces.items()) |