# Inspired by http://youinfinitesnake.blogspot.ch/2011/02/attractive-scientific-plots-with.html
# and http://www.gnuplotting.org/why-you-should-upgrade-to-gnuplot-4-4-3/

set terminal pngcairo size 960,680 enhanced font 'Verdana,9'
set output 't-h.png'

# define axis
# remove border on top and right and set color to gray
set style line 11 lc rgb '#808080' lt 1
set border 3 back ls 11
set tics nomirror
# define grid
set style line 12 lc rgb '#808080' lt 0 lw 1
set grid back ls 12

set style line 1 linetype 1
set style line 2 linetype 1
set style line 1 linetype rgb '#A00000' linewidth 2 pointtype 7
set style line 2 linetype rgb '#00A000' linewidth 2 pointtype 9

set size 1,1
set origin 0,0

set xlabel 'Température'
set ylabel 'Humidité'

plot 'T-H.TSV' using 3:6:1 title 'Hr [%]' with points linestyle 1, \
     'T-H.TSV' using 3:6:1 title 'Hr moyen [%]' smooth unique with linespoints linestyle 2

reset

set output
