Commit da64fb32 authored by Marios Fanourakis's avatar Marios Fanourakis

removed some axis to increase available plot area

parent 292d3863
......@@ -88,7 +88,9 @@ class DataInlet(Inlet):
plts.append(gl.addPlot())
plts[-1].addItem(curve)
plts[-1].setXLink(plts[0])
plts[-1].setLabel('top', text=self.name + ' channel ' + str(ch_ix))
plts[-2].hideAxis('bottom')
plts[-1].hideAxis('top')
plts[-1].setTitle(title=self.name + ' channel ' + str(ch_ix))
self.plt_ixs.append(len(plts) - 1)
ch_ix = ch_ix + 1
......@@ -168,7 +170,9 @@ def main():
# initialize with first plot (to display all marker data)
plts: List[pg.PlotItem] = [win.plots.addPlot()]
plts[-1].setLabel('top', text='All Inlets Marker Data')
plts[-1].setTitle(title='All Inlets Marker Data')
plts[-1].hideAxis('bottom')
plts[-1].showAxis('top', show=True)
inlets: List[Inlet] = []
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment