# set terminal png transparent nocrop enhanced font arial 8 size 500,350 # set output 'datastrings.2.png' set bar 1.000000 set boxwidth 0.3 absolute set style fill solid 1.00 border -1 set style rectangle back fc lt -3 fillstyle solid 1.00 border -1 set grid nopolar set grid noxtics nomxtics ytics nomytics noztics nomztics \ nox2tics nomx2tics noy2tics nomy2tics nocbtics nomcbtics set grid layerdefault linetype 0 linewidth 1.000, linetype 0 linewidth 1.000 set key inside right top vertical Right noreverse enhanced autotitles columnhead nobox set pointsize 2 set xtics border in scale 0,0 mirror norotate offset character 0, 0, 0 set xtics norangelimit set xtics ("mai" 0.00000 -1, "jun" 1.00000 -1, "jul" 2.00000 -1, "aug" 3.00000 -1, "sep" 4.00000 -1, "okt" 5.00000 -1, "nov" 6.00000 -1, "des" 7.00000 -1, "jan" 8.00000 -1, "feb" 9.00000 -1, "mar" 10.0000 -1, "apr" 11.0000 -1) set ytics border in scale 0,0 mirror norotate offset character 0, 0, 0 set ztics border in scale 0,0 nomirror norotate offset character 0, 0, 0 set cbtics border in scale 0,0 mirror norotate offset character 0, 0, 0 set title "Read tic labels from a datafile column\nAn approximation of Hans Olav Eggestad's categoric plot patch\nusing 'using ($0):2:xticlabels(1)' and 'set style fill solid border -1'" set rrange [ * : * ] noreverse nowriteback # (currently [0.00000:10.0000] ) set trange [ * : * ] noreverse nowriteback # (currently [-5.00000:5.00000] ) set urange [ * : * ] noreverse nowriteback # (currently [-5.00000:5.00000] ) set vrange [ * : * ] noreverse nowriteback # (currently [-5.00000:5.00000] ) set xrange [ -0.500000 : 11.5000 ] noreverse nowriteback set ylabel "mm" set ylabel offset character 0, 0, 0 font "" textcolor lt -1 rotate by 90 set y2label offset character 0, 0, 0 font "" textcolor lt -1 rotate by 90 set yrange [ 0.00000 : 180.000 ] noreverse nowriteback set cblabel offset character 0, 0, 0 font "" textcolor lt -1 rotate by 90 set bmargin 3 set locale "C" plot 'ctg-y2.dat' using ($0-0.2):2 index 0 with boxes title "precipitation 1992-2000", '' using ($0+0.2):2 index 1 with boxes title " 2000-2001", '' using ($0):2 index 2 with linespoints lw 3 title "runoff 1992-2000", '' using ($0):2:xticlabels(1) index 3 with linespoints lw 3 title " 2000-2001"