Thursday, September 8, 2016

Visualization of live data streams with the gnuplot and bash (Part 2)

In my first article I have demonstrated the script and other utilities to feed the gnuplot with live data streams. Shown scripts are easy to use and if combined together they build powerful chains of data filters. The only problem with the script is that it can only display a continuous data stream updating the plot with each new incoming data sample. To display even more complex data like scatter or 3D plots a different approach of data feeding is needed. It would be necessary to update the plot blockwise and input data should also be fed in blocks. This new concept didn't match well with the script so I have written a new script because mixing both concepts in one script would make it unnecessary complex and unmaintainable.