Gnuplot Entry: Just plotting shit Date: Mon Aug 6 18:42:34 EDT 2012 test.dat: 1 1 2 2 2 3 3 1 2 The .dat file is a whitespace separated list, so can come straight from mysql. gnuplot> plot "test.dat" using 1:2 with lines More than one column: gnuplot> plot "test.dat" using 1:2 with lines, "test.dat" using 1:3 with lines; With titles: gnuplot> plot "test.dat" using 1:2 title 'First' with lines, "test.dat" using 1:3 title 'Scond' with lines; How to load gnuplot scripts? "load"