I?m trying to use matplotlib on a Raspberry Pi to visualize data the Pi receives via serial port - and of course I?m new to Python and matplotlib. The visualization need not be online, rather in form of a PDF once no more data is received. Then however as quick as possible. Please refer to my SO question for more details: http://stackoverflow.com/questions/35629471/need-help-to-solve-performance-problems-of-matplotlib-on-a-raspberry-pi
Nevertheless here is a brief summary: During the better part of an hour my program does nothing but wait for input on the serial port, which is received once a second. During this waiting time it could already begin rendering the chart, and then just save it to file, once it?s done. I have not found out how to do this however. Whats more, I have read quite discouraging posts concerning the need to recalculate the axes and so forth. As an alternative to rendering the entire grid in the program, I guess it would be an improvement (speedwise) if I could just use an image of the grid and repeat it (as in tiling). But I have not quite found the means to do that either. Concerning the grid layout please refer to my other SO question http://stackoverflow.com/questions/35551080/is-it-possible-to-generate-a-chart-with-this-very-specific-background.
Thanks a lot for reading?and perhaps answering
-------------- next part --------------
An HTML attachment was scrubbed...