I'm currently using matplotlib to do real-time scatter plotting, but it's way too slow. I'm getting ~7 frames per second, and I'm looking to get ~250 frames per second. Each frame would consist of around 1000 points.

The only functionality that I'm looking for is to be able to load data from multiple files and to be able to scatter plot them continuously with a frame rate of ~250 fps. It would also be nice to have the ability to pause the simulation, rewind, fast forward, and restart.

Is there any practical software that would allow me to achieve this goal?

  • 1
    matplotlib has tons of features, which ones do you use? We can't help you without this information. Thanks! – Nicolas Raoul May 20 '15 at 3:24
  • @NicolasRaoul Thanks for your suggestion! I edited my post to reflect your advice. – Vedaad Shakib May 20 '15 at 3:38
  • 4
    What are you viewing thes 250 frames per second on? (Most monitors refreshrates cap out way below that, and when FPS>Refresh rate then you will see nothing.). – Lyndon White May 20 '15 at 4:32
  • You did not mention how you use matplotlib, so if you clear() your figure between every frame the simulation runs much slower than if you just update the figure. See stackoverflow.com/questions/4098131/… for more details. – jojo May 20 '15 at 11:07

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.