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 plot for (p. ).
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