Previous: newhistogram, Up: histograms


2.11.2 automated iteration over multiple columns

If you want to create a histogram from many columns of data in a single file, it is very convenient to use the plot iteration feature. See iteration. For example, to create stacked histograms of the data in columns 3 through 8

           set style histogram columnstacked
           plot for [i=3:8] "datafile" using i title columnhead