Want to read Slashdot from your mobile device? Point it at m.slashdot.org and keep reading!


Forgot your password?

Submission + - Web Based Plotting/Graphing for Large Data Sets 1

kumpfjn writes: I recently have taken on a project where we have to produce plots for sensor readings. These line plots can be over several years meaning one sensor's line plot could consist of 50,000+ points. We have been using the GD graphing in PHP (also jpGraph) but it is still pretty slow when the final rendering occurs. I've done quite a bit of searching and so far (for PHP at least) my results have been lest than favorable. Everything I have found ends up performing the same or slower than GD. I also did quite a bit of testing of every piece of my code and the database and queries are very well optimized. The bottleneck is at the final generation of the image for display. My next step was to pursue tools in Python but I wanted to know what the expert community of Slashdot users are using and/or would recommend for this type of project. We are using Linux/Unix servers but otherwise are pretty open to whatever performs the best. These plots need to be generated on the fly based on parameters (date ranges, sensor combinations, etc) so running batch jobs to generate images and selecting them would not be favorable for us although this may be fall back.
This discussion was created for logged-in users only, but now has been archived. No new comments can be posted.

Web Based Plotting/Graphing for Large Data Sets

Comments Filter:
  • I don't have any experience with the GD library or graphing with PHP, but the first thing that occured to me as a solution is Processing. [processing.org]

    Basically, Processing is Java-derived and centres around visual programming. It has extra libraries that support things like SQL integration, which it sounds like you'll need, and if you want anything beyond the 2D graphing, there is OpenGL support and additional libraries to further aid you there. It's obviously by no means a ready-made solution, sadly, but it does h

Experience varies directly with equipment ruined.