<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"><HTML><meta http-equiv= "Content-Type" content= "text/html;charset=gbk"><HEAD><TITLE>滚动表格</TITLE><!--css样式是锁定表头不动的-->&l
import pyqtgraph as pg import numpy as np from pyqtgraph.Qt import QtGui, QtCore app = pg.QtGui.QApplication([]) win = pg.GraphicsWindow(title="数据滚动") win.resize(600,300) p = win.addPlot() data = np.random.random(size=50) curve = p.plot(data) de