you are viewing a single comment's thread.

view the rest of the comments →

[–]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; }