====== linux cli live plot using gnuplot ====== thanks to [[http://hxcaine.com/blog/2013/02/28/running-gnuplot-as-a-live-graph-with-automatic-updates/|Horation Caine]] for the essentials... write data to ''plot.dat'' .. for example graph nvidia-smi delivered GPU temperature of a Tesla card: while true; do echo -e "$( plot.new && mv -f plot.new plot.dat && cat plot.dat; sleep 1; done gnuplot script to display update a graph on the command line every second, save this to set yrange [60:85] set xrange [1:60] set terminal dumb plot "plot.dat" using 1:2 with lines pause 1 reread run the plot: gnuplot liveplot.gnu