Add results chapter, completely rework the graphics
This commit is contained in:
		@@ -1,39 +0,0 @@
 | 
			
		||||
# 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 svg enhanced mouse size 1920,1440 rounded dashed
 | 
			
		||||
set output 'T-H.svg'
 | 
			
		||||
 | 
			
		||||
# 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
 | 
			
		||||
 | 
			
		||||
!gzip -S z T-H.svg
 | 
			
		||||
@@ -1,23 +1,18 @@
 | 
			
		||||
# 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/
 | 
			
		||||
# and http://www.gnuplotting.org/attractive-plots/
 | 
			
		||||
 | 
			
		||||
set terminal epslatex size 5.8,8.2 color colortext 'phv,9' header '\definecolor{t}{rgb}{0.5,0.5,0.5}'
 | 
			
		||||
set format '\color{t}$%g$'
 | 
			
		||||
set output 'data.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
 | 
			
		||||
# 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
 | 
			
		||||
@@ -1,22 +1,17 @@
 | 
			
		||||
# 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/
 | 
			
		||||
# and http://www.gnuplotting.org/attractive-plots/
 | 
			
		||||
 | 
			
		||||
set terminal svg enhanced mouse size 1920,1440 rounded dashed
 | 
			
		||||
set output 'data.svg'
 | 
			
		||||
set terminal pngcairo size 960,1360 enhanced font 'Verdana,9'
 | 
			
		||||
set output 'data.png'
 | 
			
		||||
 | 
			
		||||
# 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
 | 
			
		||||
# 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
 | 
			
		||||
@@ -37,23 +32,23 @@ set timefmt '%Y-%m-%d %H:%M:%S' # but read in as datetime
 | 
			
		||||
 | 
			
		||||
set multiplot
 | 
			
		||||
 | 
			
		||||
set size 0.5,0.5
 | 
			
		||||
set origin 0,0.5
 | 
			
		||||
set size 1,0.25
 | 
			
		||||
set origin 0,0.75
 | 
			
		||||
set ylabel 'Température'
 | 
			
		||||
plot 'DATA.TSV' using 1:3 title 'T [°C]' with linespoints linestyle 1
 | 
			
		||||
 | 
			
		||||
set size 0.5,0.5
 | 
			
		||||
set origin 0,0
 | 
			
		||||
set size 1,0.25
 | 
			
		||||
set origin 0,0.5
 | 
			
		||||
set ylabel 'Pression'
 | 
			
		||||
plot 'DATA.TSV' using 1:($4/100) title 'P [hPa]' with linespoints linestyle 2
 | 
			
		||||
 | 
			
		||||
set size 0.5,0.5
 | 
			
		||||
set origin 0.5,0.5
 | 
			
		||||
set size 1,0.25
 | 
			
		||||
set origin 0,0.25
 | 
			
		||||
set ylabel 'Humidité'
 | 
			
		||||
plot 'DATA.TSV' using 1:6 title 'Hr [%]' with linespoints linestyle 3
 | 
			
		||||
 | 
			
		||||
set size 0.5,0.5
 | 
			
		||||
set origin 0.5,0
 | 
			
		||||
set size 1,0.25
 | 
			
		||||
set origin 0,0
 | 
			
		||||
set ylabel 'Luminosité'
 | 
			
		||||
plot 'DATA.TSV' using 1:7 title 'Lx [Lux]' with linespoints linestyle 4
 | 
			
		||||
 | 
			
		||||
@@ -61,5 +56,3 @@ unset multiplot
 | 
			
		||||
reset
 | 
			
		||||
 | 
			
		||||
set output
 | 
			
		||||
 | 
			
		||||
!gzip -S z data.svg
 | 
			
		||||
@@ -3,21 +3,16 @@
 | 
			
		||||
 | 
			
		||||
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'
 | 
			
		||||
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
 | 
			
		||||
# 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
 | 
			
		||||
@@ -30,8 +25,8 @@ 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
 | 
			
		||||
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
 | 
			
		||||
 | 
			
		||||
							
								
								
									
										32
									
								
								gnuplot/t-h.png.gpi
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										32
									
								
								gnuplot/t-h.png.gpi
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,32 @@
 | 
			
		||||
# 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
 | 
			
		||||
		Reference in New Issue
	
	Block a user