PDA

View Full Version : Creating a Graph from a .csv file pyqt4



jaybstory
14th January 2010, 22:04
Hello,

I'm wondering if there is a way to turn a .csv file into a static graph and put it into my GUI using python and qt4?
For example, say the .csv file contains acceleration data, is there a way to convert that data into a graph?
Thank you in advance.

axeljaeger
19th January 2010, 22:12
Of course there is a way but you have to do it yourself.

Iterate over the lines and then for example create QGraphicsEllipseItems in a QGraphicsScene for each data point.