Add presentation

This commit is contained in:
Nathanaël Restori 2012-11-23 22:11:35 +01:00
parent 8a669ad03c
commit 5d189218ac
14 changed files with 178852 additions and 20 deletions

View File

@ -0,0 +1,52 @@
# Inspired by http://youinfinitesnake.blogspot.ch/2011/02/attractive-scientific-plots-with.html
# and http://www.gnuplotting.org/attractive-plots/
# 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 3 linetype 1
set style line 4 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 style line 3 linetype rgb '#5060D0' linewidth 2 pointtype 5
set style line 4 linetype rgb '#F25900' linewidth 2 pointtype 13
set size 1,1
set origin 0,0
set terminal epslatex size 4.6,2.9 color colortext 'phv,9' header '\definecolor{t}{rgb}{0.5,0.5,0.5}'
set format '\color{t}$%g$'
set output 'data-pres-t.tex'
set xlabel 'Temps [hh]'
set xdata time # the x-axis is time
set format x '%H' # display as time
set timefmt '%Y-%m-%d %H:%M:%S' # but read in as datetime
set ylabel 'Température'
plot 'DATA.TSV' using 1:3 title 'T [°C]' with linespoints linestyle 1
set output 'data-pres-p.tex'
set ylabel 'Pression'
plot 'DATA.TSV' using 1:($4/100) title 'P [hPa]' with linespoints linestyle 2
set output 'data-pres-h.tex'
set ylabel 'Humidité'
plot 'DATA.TSV' using 1:6 title 'Hr [\%]' with linespoints linestyle 3
set output 'data-pres-l.tex'
set ylabel 'Luminosité'
plot 'DATA.TSV' using 1:7 title 'Lx [Lux]' with linespoints linestyle 4
reset
set output

BIN
latex/air-header-orig.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 702 KiB

BIN
latex/air-header.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 736 KiB

70
latex/beamerthemeAir.sty Normal file
View File

@ -0,0 +1,70 @@
\usetheme{Rochester}
\RequirePackage{pgf}
\pgfdeclareimage[width=1.0\paperwidth]{air-header}{air-header}
\setbeamertemplate{blocks}[rounded][shadow=true]
\setbeamercovered{transparent}
\beamer@headheight=0.13\paperwidth
\definecolor{airorange}{rgb}{.953 ,.502 ,.04}
\definecolor{airdarkblue}{HTML}{064F6F}
\definecolor{airlightblue}{HTML}{0099d5}
\definecolor{airgray}{HTML}{686868}
\definecolor{airlightgray}{HTML}{eeeeee}
\definecolor{airblue}{rgb}{.13 ,.43 ,.68}
\setbeamercolor*{Title bar}{fg=airdarkblue}
\setbeamercolor*{Location bar}{fg=airorange,bg=airlightgray}
\setbeamercolor*{frametitle}{parent=Title bar}
\setbeamercolor*{block title}{bg=airlightblue,fg=white}
\setbeamercolor*{block body}{bg=airlightgray,fg=airgray}
\setbeamercolor*{normal text}{bg=white,fg=airgray}
\setbeamercolor*{section in head/foot}{bg=airblue,fg=airdarkblue}
\usecolortheme[named=airorange]{structure}
\setbeamerfont{section in head/foot}{size=\tiny,series=\normalfont}
\setbeamerfont{frametitle}{size=\Large}
%\setbeamertemplate{headline}
\setbeamertemplate{frametitle}
{
\vskip-0.25\beamer@headheight
\vskip-\baselineskip
\vskip-0.2cm
\hskip0.7cm\usebeamerfont*{frametitle}\insertframetitle
\vskip-0.10em
\hskip0.7cm\usebeamerfont*{framesubtitle}\insertframesubtitle
}
\setbeamertemplate{headline}
{
\pgfuseimage{air-header}
\vskip -1.95cm
\linethickness{0.0pt}
\framelatex{
\begin{beamercolorbox}[wd=\paperwidth,ht=0.3\beamer@headheight]{Title bar}
\usebeamerfont{section in head/foot}%
\insertsectionnavigationhorizontal{0pt}{\hskip0.22cm}{}%
\end{beamercolorbox}}
\framelatex{
\begin{beamercolorbox}[wd=\paperwidth,ht=0.7\beamer@headheight]{Title bar}
\end{beamercolorbox}}
}
\setbeamertemplate{footline}
{
\linethickness{0.25pt}
\framelatex{
\begin{beamercolorbox}[leftskip=.3cm,wd=\paperwidth,ht=0.3\beamer@headheight,sep=0.1cm]{Location bar}
\usebeamerfont{section in head/foot}%
\insertshortauthor~|~\insertshorttitle
\hfill
\insertframenumber/\inserttotalframenumber
\end{beamercolorbox}}
}

41562
latex/data/3/data-pres-h.eps Normal file

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,142 @@
% GNUPLOT: LaTeX picture with Postscript
\begingroup
\fontfamily{phv}%
\selectfont
\definecolor{t}{rgb}{0.5,0.5,0.5}
\makeatletter
\providecommand\color[2][]{%
\GenericError{(gnuplot) \space\space\space\@spaces}{%
Package color not loaded in conjunction with
terminal option `colourtext'%
}{See the gnuplot documentation for explanation.%
}{Either use 'blacktext' in gnuplot or load the package
color.sty in LaTeX.}%
\renewcommand\color[2][]{}%
}%
\providecommand\includegraphics[2][]{%
\GenericError{(gnuplot) \space\space\space\@spaces}{%
Package graphicx or graphics not loaded%
}{See the gnuplot documentation for explanation.%
}{The gnuplot epslatex terminal needs graphicx.sty or graphics.sty.}%
\renewcommand\includegraphics[2][]{}%
}%
\providecommand\rotatebox[2]{#2}%
\@ifundefined{ifGPcolor}{%
\newif\ifGPcolor
\GPcolortrue
}{}%
\@ifundefined{ifGPblacktext}{%
\newif\ifGPblacktext
\GPblacktextfalse
}{}%
% define a \g@addto@macro without @ in the name:
\let\gplgaddtomacro\g@addto@macro
% define empty templates for all commands taking text:
\gdef\gplbacktext{}%
\gdef\gplfronttext{}%
\makeatother
\ifGPblacktext
% no textcolor at all
\def\colorrgb#1{}%
\def\colorgray#1{}%
\else
% gray or color?
\ifGPcolor
\def\colorrgb#1{\color[rgb]{#1}}%
\def\colorgray#1{\color[gray]{#1}}%
\expandafter\def\csname LTw\endcsname{\color{white}}%
\expandafter\def\csname LTb\endcsname{\color{black}}%
\expandafter\def\csname LTa\endcsname{\color{black}}%
\expandafter\def\csname LT0\endcsname{\color[rgb]{1,0,0}}%
\expandafter\def\csname LT1\endcsname{\color[rgb]{0,1,0}}%
\expandafter\def\csname LT2\endcsname{\color[rgb]{0,0,1}}%
\expandafter\def\csname LT3\endcsname{\color[rgb]{1,0,1}}%
\expandafter\def\csname LT4\endcsname{\color[rgb]{0,1,1}}%
\expandafter\def\csname LT5\endcsname{\color[rgb]{1,1,0}}%
\expandafter\def\csname LT6\endcsname{\color[rgb]{0,0,0}}%
\expandafter\def\csname LT7\endcsname{\color[rgb]{1,0.3,0}}%
\expandafter\def\csname LT8\endcsname{\color[rgb]{0.5,0.5,0.5}}%
\else
% gray
\def\colorrgb#1{\color{black}}%
\def\colorgray#1{\color[gray]{#1}}%
\expandafter\def\csname LTw\endcsname{\color{white}}%
\expandafter\def\csname LTb\endcsname{\color{black}}%
\expandafter\def\csname LTa\endcsname{\color{black}}%
\expandafter\def\csname LT0\endcsname{\color{black}}%
\expandafter\def\csname LT1\endcsname{\color{black}}%
\expandafter\def\csname LT2\endcsname{\color{black}}%
\expandafter\def\csname LT3\endcsname{\color{black}}%
\expandafter\def\csname LT4\endcsname{\color{black}}%
\expandafter\def\csname LT5\endcsname{\color{black}}%
\expandafter\def\csname LT6\endcsname{\color{black}}%
\expandafter\def\csname LT7\endcsname{\color{black}}%
\expandafter\def\csname LT8\endcsname{\color{black}}%
\fi
\fi
\setlength{\unitlength}{0.0500bp}%
\begin{picture}(6622.00,4176.00)%
\gplgaddtomacro\gplbacktext{%
\colorrgb{0.50,0.50,0.50}%
\put(774,576){\makebox(0,0)[r]{\strut{}\color{t}$40$}}%
\colorrgb{0.50,0.50,0.50}%
\put(774,914){\makebox(0,0)[r]{\strut{}\color{t}$45$}}%
\colorrgb{0.50,0.50,0.50}%
\put(774,1253){\makebox(0,0)[r]{\strut{}\color{t}$50$}}%
\colorrgb{0.50,0.50,0.50}%
\put(774,1591){\makebox(0,0)[r]{\strut{}\color{t}$55$}}%
\colorrgb{0.50,0.50,0.50}%
\put(774,1929){\makebox(0,0)[r]{\strut{}\color{t}$60$}}%
\colorrgb{0.50,0.50,0.50}%
\put(774,2268){\makebox(0,0)[r]{\strut{}\color{t}$65$}}%
\colorrgb{0.50,0.50,0.50}%
\put(774,2606){\makebox(0,0)[r]{\strut{}\color{t}$70$}}%
\colorrgb{0.50,0.50,0.50}%
\put(774,2944){\makebox(0,0)[r]{\strut{}\color{t}$75$}}%
\colorrgb{0.50,0.50,0.50}%
\put(774,3282){\makebox(0,0)[r]{\strut{}\color{t}$80$}}%
\colorrgb{0.50,0.50,0.50}%
\put(774,3621){\makebox(0,0)[r]{\strut{}\color{t}$85$}}%
\colorrgb{0.50,0.50,0.50}%
\put(774,3959){\makebox(0,0)[r]{\strut{}\color{t}$90$}}%
\colorrgb{0.50,0.50,0.50}%
\put(882,396){\makebox(0,0){\strut{}22}}%
\colorrgb{0.50,0.50,0.50}%
\put(1299,396){\makebox(0,0){\strut{}23}}%
\colorrgb{0.50,0.50,0.50}%
\put(1715,396){\makebox(0,0){\strut{}00}}%
\colorrgb{0.50,0.50,0.50}%
\put(2132,396){\makebox(0,0){\strut{}01}}%
\colorrgb{0.50,0.50,0.50}%
\put(2548,396){\makebox(0,0){\strut{}02}}%
\colorrgb{0.50,0.50,0.50}%
\put(2965,396){\makebox(0,0){\strut{}03}}%
\colorrgb{0.50,0.50,0.50}%
\put(3381,396){\makebox(0,0){\strut{}04}}%
\colorrgb{0.50,0.50,0.50}%
\put(3798,396){\makebox(0,0){\strut{}05}}%
\colorrgb{0.50,0.50,0.50}%
\put(4214,396){\makebox(0,0){\strut{}06}}%
\colorrgb{0.50,0.50,0.50}%
\put(4631,396){\makebox(0,0){\strut{}07}}%
\colorrgb{0.50,0.50,0.50}%
\put(5047,396){\makebox(0,0){\strut{}08}}%
\colorrgb{0.50,0.50,0.50}%
\put(5464,396){\makebox(0,0){\strut{}09}}%
\colorrgb{0.50,0.50,0.50}%
\put(5880,396){\makebox(0,0){\strut{}10}}%
\colorrgb{0.50,0.50,0.50}%
\put(6297,396){\makebox(0,0){\strut{}11}}%
\csname LTb\endcsname%
\put(144,2267){\rotatebox{-270}{\makebox(0,0){\strut{}Humidité}}}%
\put(3589,126){\makebox(0,0){\strut{}Temps [hh]}}%
}%
\gplgaddtomacro\gplfronttext{%
\csname LTb\endcsname%
\put(5478,3806){\makebox(0,0)[r]{\strut{}Hr [\%]}}%
}%
\gplbacktext
\put(0,0){\includegraphics{data/3/data-pres-h}}%
\gplfronttext
\end{picture}%
\endgroup

36649
latex/data/3/data-pres-l.eps Normal file

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,142 @@
% GNUPLOT: LaTeX picture with Postscript
\begingroup
\fontfamily{phv}%
\selectfont
\definecolor{t}{rgb}{0.5,0.5,0.5}
\makeatletter
\providecommand\color[2][]{%
\GenericError{(gnuplot) \space\space\space\@spaces}{%
Package color not loaded in conjunction with
terminal option `colourtext'%
}{See the gnuplot documentation for explanation.%
}{Either use 'blacktext' in gnuplot or load the package
color.sty in LaTeX.}%
\renewcommand\color[2][]{}%
}%
\providecommand\includegraphics[2][]{%
\GenericError{(gnuplot) \space\space\space\@spaces}{%
Package graphicx or graphics not loaded%
}{See the gnuplot documentation for explanation.%
}{The gnuplot epslatex terminal needs graphicx.sty or graphics.sty.}%
\renewcommand\includegraphics[2][]{}%
}%
\providecommand\rotatebox[2]{#2}%
\@ifundefined{ifGPcolor}{%
\newif\ifGPcolor
\GPcolortrue
}{}%
\@ifundefined{ifGPblacktext}{%
\newif\ifGPblacktext
\GPblacktextfalse
}{}%
% define a \g@addto@macro without @ in the name:
\let\gplgaddtomacro\g@addto@macro
% define empty templates for all commands taking text:
\gdef\gplbacktext{}%
\gdef\gplfronttext{}%
\makeatother
\ifGPblacktext
% no textcolor at all
\def\colorrgb#1{}%
\def\colorgray#1{}%
\else
% gray or color?
\ifGPcolor
\def\colorrgb#1{\color[rgb]{#1}}%
\def\colorgray#1{\color[gray]{#1}}%
\expandafter\def\csname LTw\endcsname{\color{white}}%
\expandafter\def\csname LTb\endcsname{\color{black}}%
\expandafter\def\csname LTa\endcsname{\color{black}}%
\expandafter\def\csname LT0\endcsname{\color[rgb]{1,0,0}}%
\expandafter\def\csname LT1\endcsname{\color[rgb]{0,1,0}}%
\expandafter\def\csname LT2\endcsname{\color[rgb]{0,0,1}}%
\expandafter\def\csname LT3\endcsname{\color[rgb]{1,0,1}}%
\expandafter\def\csname LT4\endcsname{\color[rgb]{0,1,1}}%
\expandafter\def\csname LT5\endcsname{\color[rgb]{1,1,0}}%
\expandafter\def\csname LT6\endcsname{\color[rgb]{0,0,0}}%
\expandafter\def\csname LT7\endcsname{\color[rgb]{1,0.3,0}}%
\expandafter\def\csname LT8\endcsname{\color[rgb]{0.5,0.5,0.5}}%
\else
% gray
\def\colorrgb#1{\color{black}}%
\def\colorgray#1{\color[gray]{#1}}%
\expandafter\def\csname LTw\endcsname{\color{white}}%
\expandafter\def\csname LTb\endcsname{\color{black}}%
\expandafter\def\csname LTa\endcsname{\color{black}}%
\expandafter\def\csname LT0\endcsname{\color{black}}%
\expandafter\def\csname LT1\endcsname{\color{black}}%
\expandafter\def\csname LT2\endcsname{\color{black}}%
\expandafter\def\csname LT3\endcsname{\color{black}}%
\expandafter\def\csname LT4\endcsname{\color{black}}%
\expandafter\def\csname LT5\endcsname{\color{black}}%
\expandafter\def\csname LT6\endcsname{\color{black}}%
\expandafter\def\csname LT7\endcsname{\color{black}}%
\expandafter\def\csname LT8\endcsname{\color{black}}%
\fi
\fi
\setlength{\unitlength}{0.0500bp}%
\begin{picture}(6622.00,4176.00)%
\gplgaddtomacro\gplbacktext{%
\colorrgb{0.50,0.50,0.50}%
\put(882,576){\makebox(0,0)[r]{\strut{}\color{t}$0$}}%
\colorrgb{0.50,0.50,0.50}%
\put(882,914){\makebox(0,0)[r]{\strut{}\color{t}$20$}}%
\colorrgb{0.50,0.50,0.50}%
\put(882,1253){\makebox(0,0)[r]{\strut{}\color{t}$40$}}%
\colorrgb{0.50,0.50,0.50}%
\put(882,1591){\makebox(0,0)[r]{\strut{}\color{t}$60$}}%
\colorrgb{0.50,0.50,0.50}%
\put(882,1929){\makebox(0,0)[r]{\strut{}\color{t}$80$}}%
\colorrgb{0.50,0.50,0.50}%
\put(882,2268){\makebox(0,0)[r]{\strut{}\color{t}$100$}}%
\colorrgb{0.50,0.50,0.50}%
\put(882,2606){\makebox(0,0)[r]{\strut{}\color{t}$120$}}%
\colorrgb{0.50,0.50,0.50}%
\put(882,2944){\makebox(0,0)[r]{\strut{}\color{t}$140$}}%
\colorrgb{0.50,0.50,0.50}%
\put(882,3282){\makebox(0,0)[r]{\strut{}\color{t}$160$}}%
\colorrgb{0.50,0.50,0.50}%
\put(882,3621){\makebox(0,0)[r]{\strut{}\color{t}$180$}}%
\colorrgb{0.50,0.50,0.50}%
\put(882,3959){\makebox(0,0)[r]{\strut{}\color{t}$200$}}%
\colorrgb{0.50,0.50,0.50}%
\put(990,396){\makebox(0,0){\strut{}22}}%
\colorrgb{0.50,0.50,0.50}%
\put(1398,396){\makebox(0,0){\strut{}23}}%
\colorrgb{0.50,0.50,0.50}%
\put(1806,396){\makebox(0,0){\strut{}00}}%
\colorrgb{0.50,0.50,0.50}%
\put(2215,396){\makebox(0,0){\strut{}01}}%
\colorrgb{0.50,0.50,0.50}%
\put(2623,396){\makebox(0,0){\strut{}02}}%
\colorrgb{0.50,0.50,0.50}%
\put(3031,396){\makebox(0,0){\strut{}03}}%
\colorrgb{0.50,0.50,0.50}%
\put(3439,396){\makebox(0,0){\strut{}04}}%
\colorrgb{0.50,0.50,0.50}%
\put(3848,396){\makebox(0,0){\strut{}05}}%
\colorrgb{0.50,0.50,0.50}%
\put(4256,396){\makebox(0,0){\strut{}06}}%
\colorrgb{0.50,0.50,0.50}%
\put(4664,396){\makebox(0,0){\strut{}07}}%
\colorrgb{0.50,0.50,0.50}%
\put(5072,396){\makebox(0,0){\strut{}08}}%
\colorrgb{0.50,0.50,0.50}%
\put(5481,396){\makebox(0,0){\strut{}09}}%
\colorrgb{0.50,0.50,0.50}%
\put(5889,396){\makebox(0,0){\strut{}10}}%
\colorrgb{0.50,0.50,0.50}%
\put(6297,396){\makebox(0,0){\strut{}11}}%
\csname LTb\endcsname%
\put(144,2267){\rotatebox{-270}{\makebox(0,0){\strut{}Luminosité}}}%
\put(3643,126){\makebox(0,0){\strut{}Temps [hh]}}%
}%
\gplgaddtomacro\gplfronttext{%
\csname LTb\endcsname%
\put(5478,3806){\makebox(0,0)[r]{\strut{}Lx [Lux]}}%
}%
\gplbacktext
\put(0,0){\includegraphics{data/3/data-pres-l}}%
\gplfronttext
\end{picture}%
\endgroup

60807
latex/data/3/data-pres-p.eps Normal file

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,136 @@
% GNUPLOT: LaTeX picture with Postscript
\begingroup
\fontfamily{phv}%
\selectfont
\definecolor{t}{rgb}{0.5,0.5,0.5}
\makeatletter
\providecommand\color[2][]{%
\GenericError{(gnuplot) \space\space\space\@spaces}{%
Package color not loaded in conjunction with
terminal option `colourtext'%
}{See the gnuplot documentation for explanation.%
}{Either use 'blacktext' in gnuplot or load the package
color.sty in LaTeX.}%
\renewcommand\color[2][]{}%
}%
\providecommand\includegraphics[2][]{%
\GenericError{(gnuplot) \space\space\space\@spaces}{%
Package graphicx or graphics not loaded%
}{See the gnuplot documentation for explanation.%
}{The gnuplot epslatex terminal needs graphicx.sty or graphics.sty.}%
\renewcommand\includegraphics[2][]{}%
}%
\providecommand\rotatebox[2]{#2}%
\@ifundefined{ifGPcolor}{%
\newif\ifGPcolor
\GPcolortrue
}{}%
\@ifundefined{ifGPblacktext}{%
\newif\ifGPblacktext
\GPblacktextfalse
}{}%
% define a \g@addto@macro without @ in the name:
\let\gplgaddtomacro\g@addto@macro
% define empty templates for all commands taking text:
\gdef\gplbacktext{}%
\gdef\gplfronttext{}%
\makeatother
\ifGPblacktext
% no textcolor at all
\def\colorrgb#1{}%
\def\colorgray#1{}%
\else
% gray or color?
\ifGPcolor
\def\colorrgb#1{\color[rgb]{#1}}%
\def\colorgray#1{\color[gray]{#1}}%
\expandafter\def\csname LTw\endcsname{\color{white}}%
\expandafter\def\csname LTb\endcsname{\color{black}}%
\expandafter\def\csname LTa\endcsname{\color{black}}%
\expandafter\def\csname LT0\endcsname{\color[rgb]{1,0,0}}%
\expandafter\def\csname LT1\endcsname{\color[rgb]{0,1,0}}%
\expandafter\def\csname LT2\endcsname{\color[rgb]{0,0,1}}%
\expandafter\def\csname LT3\endcsname{\color[rgb]{1,0,1}}%
\expandafter\def\csname LT4\endcsname{\color[rgb]{0,1,1}}%
\expandafter\def\csname LT5\endcsname{\color[rgb]{1,1,0}}%
\expandafter\def\csname LT6\endcsname{\color[rgb]{0,0,0}}%
\expandafter\def\csname LT7\endcsname{\color[rgb]{1,0.3,0}}%
\expandafter\def\csname LT8\endcsname{\color[rgb]{0.5,0.5,0.5}}%
\else
% gray
\def\colorrgb#1{\color{black}}%
\def\colorgray#1{\color[gray]{#1}}%
\expandafter\def\csname LTw\endcsname{\color{white}}%
\expandafter\def\csname LTb\endcsname{\color{black}}%
\expandafter\def\csname LTa\endcsname{\color{black}}%
\expandafter\def\csname LT0\endcsname{\color{black}}%
\expandafter\def\csname LT1\endcsname{\color{black}}%
\expandafter\def\csname LT2\endcsname{\color{black}}%
\expandafter\def\csname LT3\endcsname{\color{black}}%
\expandafter\def\csname LT4\endcsname{\color{black}}%
\expandafter\def\csname LT5\endcsname{\color{black}}%
\expandafter\def\csname LT6\endcsname{\color{black}}%
\expandafter\def\csname LT7\endcsname{\color{black}}%
\expandafter\def\csname LT8\endcsname{\color{black}}%
\fi
\fi
\setlength{\unitlength}{0.0500bp}%
\begin{picture}(6622.00,4176.00)%
\gplgaddtomacro\gplbacktext{%
\colorrgb{0.50,0.50,0.50}%
\put(882,576){\makebox(0,0)[r]{\strut{}\color{t}$932$}}%
\colorrgb{0.50,0.50,0.50}%
\put(882,1059){\makebox(0,0)[r]{\strut{}\color{t}$933$}}%
\colorrgb{0.50,0.50,0.50}%
\put(882,1543){\makebox(0,0)[r]{\strut{}\color{t}$934$}}%
\colorrgb{0.50,0.50,0.50}%
\put(882,2026){\makebox(0,0)[r]{\strut{}\color{t}$935$}}%
\colorrgb{0.50,0.50,0.50}%
\put(882,2509){\makebox(0,0)[r]{\strut{}\color{t}$936$}}%
\colorrgb{0.50,0.50,0.50}%
\put(882,2992){\makebox(0,0)[r]{\strut{}\color{t}$937$}}%
\colorrgb{0.50,0.50,0.50}%
\put(882,3476){\makebox(0,0)[r]{\strut{}\color{t}$938$}}%
\colorrgb{0.50,0.50,0.50}%
\put(882,3959){\makebox(0,0)[r]{\strut{}\color{t}$939$}}%
\colorrgb{0.50,0.50,0.50}%
\put(990,396){\makebox(0,0){\strut{}22}}%
\colorrgb{0.50,0.50,0.50}%
\put(1398,396){\makebox(0,0){\strut{}23}}%
\colorrgb{0.50,0.50,0.50}%
\put(1806,396){\makebox(0,0){\strut{}00}}%
\colorrgb{0.50,0.50,0.50}%
\put(2215,396){\makebox(0,0){\strut{}01}}%
\colorrgb{0.50,0.50,0.50}%
\put(2623,396){\makebox(0,0){\strut{}02}}%
\colorrgb{0.50,0.50,0.50}%
\put(3031,396){\makebox(0,0){\strut{}03}}%
\colorrgb{0.50,0.50,0.50}%
\put(3439,396){\makebox(0,0){\strut{}04}}%
\colorrgb{0.50,0.50,0.50}%
\put(3848,396){\makebox(0,0){\strut{}05}}%
\colorrgb{0.50,0.50,0.50}%
\put(4256,396){\makebox(0,0){\strut{}06}}%
\colorrgb{0.50,0.50,0.50}%
\put(4664,396){\makebox(0,0){\strut{}07}}%
\colorrgb{0.50,0.50,0.50}%
\put(5072,396){\makebox(0,0){\strut{}08}}%
\colorrgb{0.50,0.50,0.50}%
\put(5481,396){\makebox(0,0){\strut{}09}}%
\colorrgb{0.50,0.50,0.50}%
\put(5889,396){\makebox(0,0){\strut{}10}}%
\colorrgb{0.50,0.50,0.50}%
\put(6297,396){\makebox(0,0){\strut{}11}}%
\csname LTb\endcsname%
\put(144,2267){\rotatebox{-270}{\makebox(0,0){\strut{}Pression}}}%
\put(3643,126){\makebox(0,0){\strut{}Temps [hh]}}%
}%
\gplgaddtomacro\gplfronttext{%
\csname LTb\endcsname%
\put(5478,3806){\makebox(0,0)[r]{\strut{}P [hPa]}}%
}%
\gplbacktext
\put(0,0){\includegraphics{data/3/data-pres-p}}%
\gplfronttext
\end{picture}%
\endgroup

38822
latex/data/3/data-pres-t.eps Normal file

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,138 @@
% GNUPLOT: LaTeX picture with Postscript
\begingroup
\fontfamily{phv}%
\selectfont
\definecolor{t}{rgb}{0.5,0.5,0.5}
\makeatletter
\providecommand\color[2][]{%
\GenericError{(gnuplot) \space\space\space\@spaces}{%
Package color not loaded in conjunction with
terminal option `colourtext'%
}{See the gnuplot documentation for explanation.%
}{Either use 'blacktext' in gnuplot or load the package
color.sty in LaTeX.}%
\renewcommand\color[2][]{}%
}%
\providecommand\includegraphics[2][]{%
\GenericError{(gnuplot) \space\space\space\@spaces}{%
Package graphicx or graphics not loaded%
}{See the gnuplot documentation for explanation.%
}{The gnuplot epslatex terminal needs graphicx.sty or graphics.sty.}%
\renewcommand\includegraphics[2][]{}%
}%
\providecommand\rotatebox[2]{#2}%
\@ifundefined{ifGPcolor}{%
\newif\ifGPcolor
\GPcolortrue
}{}%
\@ifundefined{ifGPblacktext}{%
\newif\ifGPblacktext
\GPblacktextfalse
}{}%
% define a \g@addto@macro without @ in the name:
\let\gplgaddtomacro\g@addto@macro
% define empty templates for all commands taking text:
\gdef\gplbacktext{}%
\gdef\gplfronttext{}%
\makeatother
\ifGPblacktext
% no textcolor at all
\def\colorrgb#1{}%
\def\colorgray#1{}%
\else
% gray or color?
\ifGPcolor
\def\colorrgb#1{\color[rgb]{#1}}%
\def\colorgray#1{\color[gray]{#1}}%
\expandafter\def\csname LTw\endcsname{\color{white}}%
\expandafter\def\csname LTb\endcsname{\color{black}}%
\expandafter\def\csname LTa\endcsname{\color{black}}%
\expandafter\def\csname LT0\endcsname{\color[rgb]{1,0,0}}%
\expandafter\def\csname LT1\endcsname{\color[rgb]{0,1,0}}%
\expandafter\def\csname LT2\endcsname{\color[rgb]{0,0,1}}%
\expandafter\def\csname LT3\endcsname{\color[rgb]{1,0,1}}%
\expandafter\def\csname LT4\endcsname{\color[rgb]{0,1,1}}%
\expandafter\def\csname LT5\endcsname{\color[rgb]{1,1,0}}%
\expandafter\def\csname LT6\endcsname{\color[rgb]{0,0,0}}%
\expandafter\def\csname LT7\endcsname{\color[rgb]{1,0.3,0}}%
\expandafter\def\csname LT8\endcsname{\color[rgb]{0.5,0.5,0.5}}%
\else
% gray
\def\colorrgb#1{\color{black}}%
\def\colorgray#1{\color[gray]{#1}}%
\expandafter\def\csname LTw\endcsname{\color{white}}%
\expandafter\def\csname LTb\endcsname{\color{black}}%
\expandafter\def\csname LTa\endcsname{\color{black}}%
\expandafter\def\csname LT0\endcsname{\color{black}}%
\expandafter\def\csname LT1\endcsname{\color{black}}%
\expandafter\def\csname LT2\endcsname{\color{black}}%
\expandafter\def\csname LT3\endcsname{\color{black}}%
\expandafter\def\csname LT4\endcsname{\color{black}}%
\expandafter\def\csname LT5\endcsname{\color{black}}%
\expandafter\def\csname LT6\endcsname{\color{black}}%
\expandafter\def\csname LT7\endcsname{\color{black}}%
\expandafter\def\csname LT8\endcsname{\color{black}}%
\fi
\fi
\setlength{\unitlength}{0.0500bp}%
\begin{picture}(6622.00,4176.00)%
\gplgaddtomacro\gplbacktext{%
\colorrgb{0.50,0.50,0.50}%
\put(774,576){\makebox(0,0)[r]{\strut{}\color{t}$2$}}%
\colorrgb{0.50,0.50,0.50}%
\put(774,999){\makebox(0,0)[r]{\strut{}\color{t}$4$}}%
\colorrgb{0.50,0.50,0.50}%
\put(774,1422){\makebox(0,0)[r]{\strut{}\color{t}$6$}}%
\colorrgb{0.50,0.50,0.50}%
\put(774,1845){\makebox(0,0)[r]{\strut{}\color{t}$8$}}%
\colorrgb{0.50,0.50,0.50}%
\put(774,2268){\makebox(0,0)[r]{\strut{}\color{t}$10$}}%
\colorrgb{0.50,0.50,0.50}%
\put(774,2690){\makebox(0,0)[r]{\strut{}\color{t}$12$}}%
\colorrgb{0.50,0.50,0.50}%
\put(774,3113){\makebox(0,0)[r]{\strut{}\color{t}$14$}}%
\colorrgb{0.50,0.50,0.50}%
\put(774,3536){\makebox(0,0)[r]{\strut{}\color{t}$16$}}%
\colorrgb{0.50,0.50,0.50}%
\put(774,3959){\makebox(0,0)[r]{\strut{}\color{t}$18$}}%
\colorrgb{0.50,0.50,0.50}%
\put(882,396){\makebox(0,0){\strut{}22}}%
\colorrgb{0.50,0.50,0.50}%
\put(1299,396){\makebox(0,0){\strut{}23}}%
\colorrgb{0.50,0.50,0.50}%
\put(1715,396){\makebox(0,0){\strut{}00}}%
\colorrgb{0.50,0.50,0.50}%
\put(2132,396){\makebox(0,0){\strut{}01}}%
\colorrgb{0.50,0.50,0.50}%
\put(2548,396){\makebox(0,0){\strut{}02}}%
\colorrgb{0.50,0.50,0.50}%
\put(2965,396){\makebox(0,0){\strut{}03}}%
\colorrgb{0.50,0.50,0.50}%
\put(3381,396){\makebox(0,0){\strut{}04}}%
\colorrgb{0.50,0.50,0.50}%
\put(3798,396){\makebox(0,0){\strut{}05}}%
\colorrgb{0.50,0.50,0.50}%
\put(4214,396){\makebox(0,0){\strut{}06}}%
\colorrgb{0.50,0.50,0.50}%
\put(4631,396){\makebox(0,0){\strut{}07}}%
\colorrgb{0.50,0.50,0.50}%
\put(5047,396){\makebox(0,0){\strut{}08}}%
\colorrgb{0.50,0.50,0.50}%
\put(5464,396){\makebox(0,0){\strut{}09}}%
\colorrgb{0.50,0.50,0.50}%
\put(5880,396){\makebox(0,0){\strut{}10}}%
\colorrgb{0.50,0.50,0.50}%
\put(6297,396){\makebox(0,0){\strut{}11}}%
\csname LTb\endcsname%
\put(144,2267){\rotatebox{-270}{\makebox(0,0){\strut{}Température}}}%
\put(3589,126){\makebox(0,0){\strut{}Temps [hh]}}%
}%
\gplgaddtomacro\gplfronttext{%
\csname LTb\endcsname%
\put(5478,3806){\makebox(0,0)[r]{\strut{}T [°C]}}%
}%
\gplbacktext
\put(0,0){\includegraphics{data/3/data-pres-t}}%
\gplfronttext
\end{picture}%
\endgroup

72
latex/notes.xml Normal file
View File

@ -0,0 +1,72 @@
<notes>
<note number="1">
Départ
</note>
<note range="2-5">
ToC
!!!!! Motivations !!!!!
</note>
<note range="6-14">
Présentations
!!!!!! SIMPLICITÉ !!!!!!
Un bus (en informatique) est un système de communication entre les composants d'un
ordinateur. Il désigne autant le support physique, le logiciel et le protocole.
USB:
• Quatres lignes
• Mono-maître, mono-esclave
• Cest un bus série : chaque information est découpée en plusieurs morceaux deux
taille fixe.
• Cest un bus synchrone : il possède une horloge propre (imposée par le maître
qui veut parler).
• Cest un bus bidirectionnel half-duplex : les informations peuvent circuler dans
les deux sens mais dans un seul à la fois.
• 600 Mbit/s
</note>
<note range="15-18">
Le choix de la plate-forme
Plate-forme : en informatique, une base de travail à partir de laquelle on peut
écrire, lire, utiliser, développer un ensemble de logiciels.
DIY : littéralement, « faites-le vous-même ». Sassimile à du bricolage
Matériel libre : matériel dont les plans sont publics. Tout le monde peut les
modifier, fabriquer, redistribuer et utiliser. Équivalent matériel du logiciel libre.
</note>
<note range="19-23">
Les capteurs
</note>
<note range="24-26">
Limitations
</note>
<note range="27-40">
En général
</note>
<note range="41-47">
L'enregistreur
</note>
<note range="48-53">
Le serveur web
</note>
<note range="54-55">
Tentative de réunion
</note>
<note range="56-67">
Les mesures
Voici mes premières constatations : premièrement, lhumidité ne dépassait jamais
70 %, deuxièmement, la température ne descendait jamais au dessous de 8 °C.
Cette fois-ci, la température sest stabilisée à environ 5 °C mais on constate une
chute de la puissance après environ une heure. Cela est probablement dû au fait
que les piles ne fournissent que peu dénergie à basse température, la puissance
augmentant une fois sortie du frigo
</note>
<note range="68-71">
Les résultats
</note>
</notes>

View File

@ -3,50 +3,290 @@
\usepackage{fontspec} \usepackage{fontspec}
\usepackage{xunicode} \usepackage{xunicode}
\usepackage{polyglossia} \usepackage{polyglossia}
\usepackage{pgfpages}
\usepackage{caption}
\usepackage{subcaption}
\usepackage{listings}
\lstset{basicstyle=\ttfamily\footnotesize}
\makeatletter
\def\verbatim@font{\footnotesize\ttfamily}
\makeatother
\usetheme{Air}
\addtobeamertemplate{frametitle}{
\let\insertframetitle\insertsectionhead}{}
\addtobeamertemplate{frametitle}{
\let\insertframesubtitle\insertsubsectionhead}{}
\makeatletter
\CheckCommand*\beamer@checkframetitle{\@ifnextchar\bgroup\beamer@inlineframetitle{}}
\renewcommand*\beamer@checkframetitle{\global\let\beamer@frametitle\relax\@ifnextchar\bgroup\beamer@inlineframetitle{}}
\makeatother
\setbeamertemplate{caption}[numbered]
\makeatletter
\@addtoreset{subfigure}{figure}
\makeatother
\beamertemplatenavigationsymbolsempty
%\renewcommand\pgfsetupphysicalpagesizes{%
% \pdfpagewidth\pgfphysicalwidth\pdfpageheight\pgfphysicalheight%
%}
\setmainlanguage{french} \setmainlanguage{french}
%\setbeameroption{show notes on second screen}
\title{La lumière s'éteint-elle dans le frigo ?} \title{La lumière s'éteint-elle dans le frigo ?}
\subtitle{ou bla bli blu} \subtitle{Étude d'un bus en vue d'acquisition de données}
\author{Nathanaël \textsc{Restori}} \author{Nathanaël Restori}
\date{\today} \date{\today}
\institute{Gymnase de Burier} \institute{Gymnase de Burier}
\usetheme{Warsaw}
\begin{document} \begin{document}
\begin{frame} \begin{frame}
\titlepage \titlepage
\end{frame} \end{frame}
\begin{frame} \begin{frame}[plain]
\tableofcontents[pausesections] \tableofcontents[pausesections]
\end{frame} \end{frame}
\section{Section 1} \section{L'I²C}
\subsection{Sous section 1 de la Section 1} \subsection{Présentation}
\begin{frame} \begin{frame}
Ma première page ! \begin{block}{Quoi ?}<+->
Bus développé par Philips en 1982
\end{block}
\begin{block}{Caractéristiques}<+->
\begin{itemize}[<+->]
\item Il n'utilise que deux lignes.
\item Il est multi-maîtres.
\item Il est multi-esclaves.
\item C'est un bus série.
\item C'est un bus synchrone.
\item C'est un bus bidirectionnel half-duplex.
\item Vitesses allant de 100 kbit/s à 5 Mbit/s.
\end{itemize}
\end{block}
\end{frame} \end{frame}
\subsection{Sous section 2 de la Section 1} \section{Le matériel}
\subsection{Le choix de la plate-forme}
\begin{frame} \begin{frame}
Et maintenant ma deuxième page ! \begin{itemize}[<+->]
\item Bon marché
\item Nombreux Do It Yourself
\item C++
\item Matériel libre
\end{itemize}
\begin{figure}[h]
\centering
\includegraphics[width=0.5\textwidth]{figures/Arduino_Ethernet.jpg}
\caption{Arduino Ethernet}
\end{figure}
\end{frame}
\subsection{Les capteurs}
\begin{frame}
\begin{itemize}[<+->]
\item Baromètre
\item Thermomètre
\item Hygromètre
\item Capteur de luminosité
\item Horloge
\end{itemize}
\begin{figure}[h]
\begin{subfigure}[b]{0.21\textwidth}
\includegraphics[width=1\textwidth]{figures/perso/BMP085.JPG}
\caption{BMP085}
\end{subfigure}
~
\begin{subfigure}[b]{0.21\textwidth}
\includegraphics[width=1\textwidth]{figures/perso/ChronoDot.JPG}
\caption{ChronoDot}
\end{subfigure}
~
\begin{subfigure}[b]{0.21\textwidth}
\includegraphics[width=1\textwidth]{figures/perso/DHT22.JPG}
\caption{DHT22}
\end{subfigure}
~
\begin{subfigure}[b]{0.21\textwidth}
\includegraphics[width=1\textwidth]{figures/perso/TSL2561.JPG}
\caption{TSL2561}
\end{subfigure}
\caption{Les capteurs}
\end{figure}
\end{frame}
\subsection{Limitations}
\begin{frame}
\begin{block}{Problème}<+->
32'256 octets de code compilé
\end{block}
\begin{block}{Solution}<+->
Couper le programme en deux
\end{block}
\begin{block}{Possibilité}<+->
Achat d'un arduino Mega et d'un shield Ethernet
\end{block}
\end{frame}
\section{Le logiciel}
\subsection{En général}
\begin{frame}[fragile]
\begin{block}{Les fonctions}<+->
\begin{itemize}[<+->]
\item \verb|setup()| : une fois
\item \verb|loop()| : en boucle
\end{itemize}
\end{block}
\begin{columns}
\begin{column}{0.5\textwidth}
\begin{block}{Bibliothèques internes}<+->
\begin{itemize}[<+->]
\item \verb|Ethernet|
\item \verb|SD|
\item \verb|SPI|
\item \verb|Wire|
\end{itemize}
\end{block}
\end{column}
\begin{column}{0.5\textwidth}
\begin{block}{Bibliothèques tierces}<+->
\begin{itemize}[<+->]
\item \verb|BMP085|
\item \verb|Chronodot|
\item \verb|DHL|
\item \verb|TSL2561|
\item \verb|Webserver|
\end{itemize}
\end{block}
\end{column}
\end{columns}
\end{frame}
\subsection{L'enregistreur}
\begin{frame}[fragile]
\begin{block}{\lstinline{setup()}}
\begin{itemize}[<+->]
\item Initialiser la carte SD
\item Initialiser les capteurs
\item Configurer le capteur de luminosité
\item Créer DATA.TSV
\end{itemize}
\end{block}
\begin{block}{\lstinline{loop()}}
\begin{itemize}[<+->]
\item Lire les capteurs
\item Enregistrer dans DATA.TSV
\item Faire une pause
\end{itemize}
\end{block}
\end{frame}
\subsection{Le serveur web}
\begin{frame}[fragile]
\begin{block}{\lstinline{setup()}}
\begin{itemize}[<+->]
\item Initialiser le serveur web et la puce de contrôle port RJ45
\item Configurer le serveur web
\item Initialiser les capteurs
\item Configurer le capteur de luminosité
\item Mettre à jour l'heure
\end{itemize}
\end{block}
\begin{block}{\lstinline{loop()}}
\begin{itemize}[<+->]
\item Traiter les connections entrantes
\end{itemize}
\end{block}
\end{frame}
\subsection{Tentative de réunion}
\begin{frame}
\begin{block}{Tentative 1}<+->
Suppression du DHCP et du DNS
\end{block}
\begin{block}{Tentative 2}<+->
Recherche d'un système exploitation
\end{block}
\end{frame} \end{frame}
\section{Le cas du frigo}
\section{Section 2} \subsection{Les mesures}
\subsection{Sous section 1 de la Section 2}
\begin{frame} \begin{frame}
Voici ma troisième page, elle appartient à ma deuxième section ! :) \begin{columns}
\begin{column}{0.5\textwidth}
\begin{block}{Essai n°1}<+->
\begin{itemize}[<+->]
\item Une heure dans le frigo
\item Avec sachet plastique
\item Constatations
\end{itemize}
\end{block}
\end{column}
\begin{column}{0.5\textwidth}
\begin{block}{Essai n°2}<+->
\begin{itemize}[<+->]
\item Deux heures dans le frigo
\item Sans sachet plastique
\item Constatations
\end{itemize}
\end{block}
\end{column}
\end{columns}
\begin{columns}
\begin{column}{0.5\textwidth}
\begin{block}{Essai n°3}<+->
\begin{itemize}[<+->]
\item Douze heures dans le frigo
\item Sans sachet plastique
\item Constatations
\end{itemize}
\end{block}
\end{column}
\end{columns}
\end{frame} \end{frame}
\subsection{Sous section 2 de la Section 2} \subsection{Les résultats}
\begin{frame}
\input{data/3/data-pres-t.tex}
\end{frame}
\begin{frame}
\input{data/3/data-pres-h.tex}
\end{frame}
\begin{frame}
\input{data/3/data-pres-p.tex}
\end{frame}
\begin{frame}
\input{data/3/data-pres-l.tex}
\end{frame}
\section{Sources}
\begin{frame}
\end{frame}
\section*{Remerciements}
\begin{frame} \begin{frame}
Et celle là c'est la deuxième page, mais de ma deuxième section.
\end{frame} \end{frame}
\end{document} \end{document}