-
Book Overview & Buying
-
Table Of Contents
gnuplot Cookbook
By :
Rather than stacking the histograms, you can plot them side by side. The following figure shows the same data as in the previous plot, but has two separate sets of histograms plotted beside each other:

To make room, the histogram boxes are automatically drawn thinner. The different data sets are distinguished by different fill colors or patterns, depending on terminal, and/or different styles for the lines delineating the histogram boxes.
We are going to continue to wear out our datafile parabolaCircles.text.
Following are the commands used to produce a multiple histogram plot:
set style fill solid 1.0 border lt -1 set style data histograms plot [0:40] 'parabolaCircles.text' using (-$2),\'' using (20*$3) notitle
The shrewd reader will have noticed that this is the same recipe as the previous one, with the line set style histogram rowstacked removed. Here, we see the default multiple histogram style.
Change the font size
Change margin width
Change background colour