# columns_input.txt # # Discussion: # # Input to GNUPLOT, causing it to read COLUMNS_DATA.TXT and # create two 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. # # Licensing: # # This code is distributed under the GNU LGPL license. # # Modified: # # 03 June 2012 # # Author: # # John Burkardt # set term png set output "columns.png" set style data linespoints set title "Example of plotting columns of data" set grid set timestamp plot 'columns_data.txt' using 1:2, '' using 1:4 plot 'columns_data.txt' using 1:($4-$2) quit