# "/home/bill/PROJECTS/System_maintenance/graphs, plots/gnuplot example script.txt" # $ bash "$d_bin""gnuplot.sh" runs this file # www.BillHowell.ca 17:22 initial set terminal pngcairo enhanced font "arial,10" fontscale 1.0 size 600, 400 set output '/home/bill/PROJECTS/System_maintenance/graphs, plots/gnuplot example data_set.png' set title "Example data-set : x^2, 2*x, random" set xlabel "x" set ylabel "functions of x" set xrange [1 : 6] set yrange [0 : 50 ] # nyet - no [tabs, commas etc] # set datafile separator "\t" # lp = lines + points plot "/home/bill/PROJECTS/System_maintenance/graphs, plots/gnuplot example data_set.dat" u 1:2 w lp,\ "/home/bill/PROJECTS/System_maintenance/graphs, plots/gnuplot example data_set.dat" u 1:3 w lp,\ "/home/bill/PROJECTS/System_maintenance/graphs, plots/gnuplot example data_set.dat" u 1:4 w lp # plot "/home/bill/PROJECTS/System_maintenance/graphs, plots/gnuplot example data_set.dat" u 1:2 w lp #plot for [col = 2:4] "/home/bill/PROJECTS/System_maintenance/graphs, plots/gnuplot example data_set.dat" using 1:col w lp # enddoc