# data_columns.inp # # Input to GNUPLOT, causing it to read DATA_COLUMNS.TXT and # create two PostScript plots of certain column pairs. # # Plot #1 will show column 1 versus 2, and column 1 versus 4. # Plot #2 will show column 1 versus the difference of columns 4 and 2. # set term post default set data style linespoints set title "Example of plotting columns of data" set grid plot 'data_columns.txt' using 1:2, '' using 1:4 plot 'data_columns.txt' using 1:($4-$2) quit