def set_graphics_view(self):
self.win = pg.GraphicsLayoutWidget()
self.layout.addWidget(self.win)
self.trace_x = self.win.addPlot(title="X")
self.win.nextRow()
self.trace_y = self.win.addPlot(title="Y")
self.trace_y.setXLink(self.trace_x)
self.trace_y.setYLink(self.trace_x)
self.win.nextRow()
self.trace_z = self.win.addPlot(title="Z")
self.trace_z.setXLink(self.trace_x)
self.trace_z.setYLink(self.trace_x)
评论列表
文章目录