1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84
|
#
# Gnuplot version 4.1 demo of multiplot
# auto-layout capability
#
#
set multiplot layout 3, 1 title "Multiplot layout 3, 1"
set title "Plot 1"
plot sin(x)/x
#
set title "Plot 2"
plot 'silver.dat' using 1:2 ti 'silver.dat'
#
set style histogram columns
set style fill solid
set key autotitle column
set boxwidth 0.8
set format y " "
set tics scale 0
set title "Plot 3"
plot 'immigration.dat' using 2 with histograms, \
'' using 7 with histograms , \
'' using 8 with histograms , \
'' using 11 with histograms
#
unset multiplot
#
#
#
pause -1 "<cr> to continue"
reset
set multiplot layout 1,3 title "Multiplot layout 1, 3"
set xtics rotate
set bmargin 5
#
set title "Plot 1"
plot sin(x)/x
#
set title "Plot 2"
plot 'silver.dat' using 1:2 ti 'silver.dat'
#
set title "Plot 3"
set style histogram columns
set style fill solid
set key autotitle column
set boxwidth 0.8
set format y " "
set tics scale 0
plot 'immigration.dat' using 2 with histograms , \
'' using 7 with histograms , \
'' using 8 with histograms , \
'' using 11 with histograms
#
unset multiplot
#
#
#
#
pause -1 "<cr> to continue"
reset
set multiplot layout 1,3 title "Same plot with a multi-line title\nshowing adjustment of plot area\n to accommodate it"
set xtics rotate
set bmargin 5
#
set title "Plot 1"
plot sin(x)/x
#
set title "Plot 2"
plot 'silver.dat' using 1:2 ti 'silver.dat'
#
set title "Plot 3"
set style histogram columns
set style fill solid
set key autotitle column
set boxwidth 0.8
set format y " "
set tics scale 0
plot 'immigration.dat' using 2 with histograms , \
'' using 7 with histograms , \
'' using 8 with histograms , \
'' using 11 with histograms
#
unset multiplot
pause -1 "<cr> to continue"
reset
|