I am trying to find a tool for building data (mainly line graphs, etc.) that can be used for high-performance applications. My data window usually contains between 500 and several thousand dots, and I would be happy with a frame rate of 10 or so. I get my data as a binary stream in a socket. I am on Mac OS X.
I tried several solutions, and I talk about my experiences with them below.
R : terribly slow and unable to keep up, it hurts to read sockets, the schedule flickers.
matplotlib : Pretty slow, but a bit useful, too. However, this requires a ton of Python machines, and the IMO API is pretty opaque. With constant updating, the window containing the graph becomes modal and the Mac sea beach appears - not suitable for user interaction.
Gnuplot : greatly improved performance and API. However, transferring large amounts of data to gnuplot occurs by generating temporary ASCII files (!) - this means that if my frame rate increases, I start to do thin disk reads, and this is a performance problem.
Any other suggestions?
source
share