2 # Gnuplot version 4.1 demo of multiplot
3 # auto-layout capability
6 set multiplot layout 3, 1 title "Multiplot layout 3, 1"
11 plot 'silver.dat' using 1:2 ti 'silver.dat'
13 set style histogram columns
15 set key autotitle column
20 plot 'immigration.dat' using 2 with histograms, \
21 '' using 7 with histograms , \
22 '' using 8 with histograms , \
23 '' using 11 with histograms
29 pause -1 "<cr> to continue"
31 set multiplot layout 1,3 title "Multiplot layout 1, 3"
39 plot 'silver.dat' using 1:2 ti 'silver.dat'
42 set style histogram columns
44 set key autotitle column
48 plot 'immigration.dat' using 2 with histograms , \
49 '' using 7 with histograms , \
50 '' using 8 with histograms , \
51 '' using 11 with histograms
58 pause -1 "<cr> to continue"
60 set multiplot layout 1,3 title "Same plot with a multi-line title\nshowing adjustment of plot area\n to accommodate it"
68 plot 'silver.dat' using 1:2 ti 'silver.dat'
71 set style histogram columns
73 set key autotitle column
77 plot 'immigration.dat' using 2 with histograms , \
78 '' using 7 with histograms , \
79 '' using 8 with histograms , \
80 '' using 11 with histograms
83 pause -1 "<cr> to continue"