# blocks_input.txt # # Discussion: # # Input to GNUPLOT, causing it to read BLOCKS_DATA.TXT and # create a plot of blocks of data. # # GNUPLOT can handle what it calls a "multi-data-set file". # This is simply the concatenation of several ordinary GNUPLOT # data files, with two blank lines between each set. # # The user can thus keep several sets of data in one file, # and plot whichever one is of interest. # # Notice that the indexing of data sets starts at 0, not 1. # So what we might think of as the third data set is indexed by 2. # # Licensing: # # This code is distributed under the GNU LGPL license. # # Modified: # # 14 October 2013 # # Author: # # John Burkardt # set term png set output "blocks.png" set style data linespoints set title "Plot a particular dataset from a multi-data-set file" set grid set timestamp # # This is going to plot the THIRD data set... # plot [0:10] [-1:3] 'blocks_data.txt' index 2 title "Data set #3" quit