# geyser_input.txt # # Input to GNUPLOT, causing it to read GEYSER.TXT and # create a histogram of the data. # # Choose the output device. # set term png medium # # Name the output file. # set output "geyser.png" # # Set the plot title. # set title "Time between eruptions of Old Faithful" set xlabel "Minutes" set ylabel "Frequency" # # Add grid lines. # set grid # set style fill solid binwidth = 5.0 bin(x,width) = width * floor(x/width) + binwidth/2.0 # # Timestamp the plot. # set timestamp plot "geyser.txt" using (bin($1,binwidth)):(1.0) smooth freq with boxes # # Terminate. # quit