39 lines
1.0 KiB
Plaintext
39 lines
1.0 KiB
Plaintext
# 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 epslatex size 5.8,4.1 color colortext 'phv,9' header '\definecolor{t}{rgb}{0.5,0.5,0.5}'
|
|
set format '\color{t}$%g$'
|
|
set output 'T-H.tex'
|
|
|
|
# Line style for axes
|
|
set style line 80 lt 0
|
|
set style line 80 lt rgb '#808080'
|
|
|
|
# Line style for grid
|
|
set style line 81 lt 3 # dashed
|
|
set style line 81 lt rgb '#808080' lw 0.5 # grey
|
|
|
|
set grid back linestyle 81
|
|
set border 3 back linestyle 80
|
|
|
|
set xtics nomirror
|
|
set ytics nomirror
|
|
|
|
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 'DATA-T-H.TSV' using 3:6:1 title 'Hr [\%]' with points linestyle 1, \
|
|
'DATA-T-H.TSV' using 3:6:1 title 'Hr moyen [\%]' smooth unique with linespoints linestyle 2
|
|
|
|
reset
|
|
|
|
set output
|