You can use this:
Code:
#!/usr/bin/gnuplot
set terminal wxt size 1000,650
set datafile sep ','
set xlabel "USD Account Balance"
set ylabel "BTC Account Balance"
plot '_balancer.log' using 3:4 with lines
pause -1
I've made a tiny change to this. It adds a circle to the latest data point (a la sparklines) which aids in readability. I'm looking at other changes too as I get into gnuplot.
Code:
set datafile sep ','
unset key
set xlabel "AUD Account Balance"
set ylabel "BTC Account Balance"
stats '/tmp/_balancer.log' nooutput
last_index = int(STATS_records - 1)
plot '/tmp/_balancer.log' using 3:4 with lines,\
'/tmp/_balancer.log' using 3:4 every ::last_index with points pointtype 7 lc 1
pause -1