2016-08-11 110 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