# data_blocks.inp # # Input to GNUPLOT, causing it to read DATA_BLOCKS.TXT and # create a PostScript plot of blocks of data. # # GNUPLOT can handle what it calls a "multi-data-set file". # This is simple 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. # # Because the GNUPLOT people are C purists, data set number 2 # is the THIRD one. Just another little-endian thing to drive # you over the edge. # set term post default set data style linespoints set title "Plot a particular dataset from a multi-data-set file" set grid # # This is going to plot the THIRD data set... # plot [0:10] [-1:3] 'data_blocks.txt' index 2 title "Data set #3" quit