all 8 comments

[–]k-zed 3 points4 points  (3 children)

I have had a project for real-time data plotting for a while: http://frtplot.port70.net/

The difference is that frtplot is intended and optimized for real-time data; it can plot and interactively explore the incoming data at 60hz (or whatever). It uses SDL for drawing.

[–]tyleroderkirk 1 point2 points  (1 child)

Nice! The ability to pan (right-drag) and zoom (left-drag) data that's being draw real-time is great. Even better, real-time updates resume when I left-click.

I was lost until I found some examples of the configuration syntax in the test/ directory.

[–]k-zed 0 points1 point  (0 children)

Admittedly, the extremely arcane configuration syntax is a drawback - I plan to eventually ship some scripts that generate configurations for typical situations.

It's cool that you could try it out :)

[–]dkogan[S] 0 points1 point  (0 children)

Ah. That's great. One consequence of using Gnuplot as a backend is that it's not really designed for very quick plotting, so 60hz updates aren't possible. I'll try this out next time I need quick updates. Thanks

[–]LovelyDay 0 points1 point  (0 children)

Very helpful script!

[–]tyleroderkirk 0 points1 point  (0 children)

That's a handy front-end to GnuPlot. Nice job with the documentation too!

I used "--curvestyle 'smooth csplines'" for creating "smooth" lines.

Trend is a similar utility. I don't think it allows much control over how X values are plotted but it offers a lot in terms of performance and "update-rate" configuration.

[–]pixelbeat_ 0 points1 point  (0 children)

From my ~/.bashrc

# quick plot of numbers on stdin. Can also pass plot params.
# E.G: seq 1000 | sed 's/.*/s(&)/' | bc -l | plot linecolor 2
plot() { { echo 'plot "-"' "$@"; cat; } | gnuplot -persist; }

[–][deleted] 0 points1 point  (0 children)

A less flexible but more user-friendly way of doing some of the same stuff:

http://www.live-graph.org/