2016-08-11 61 views

回答

0

试试这个上手:

import pyqtgraph as pg 
x = [1, 2, 3, 4, 5] 
y = [1, 4, 9, 16, 25] 
pg.plot(x, y, title="Simple Example", labels={'left': 'Here is the y-axis', 'bottom': 'Here is the x-axis'}) 

我看着文档here构建一个例子。

你还可以尝试:

import pyqtgraph.examples 
pyqtgraph.examples.run() 

看到更多的例子

另见this google groups question

+0

我在上面提到的Google小组中搜索过很多很好的功能。它有很多功能匹配我的问题。谢谢 – user1482636