Import Work from 2012/2013
This commit is contained in:
BIN
1ES/DS/DS_130214/fig/bamQuartier1.pdf
Normal file
BIN
1ES/DS/DS_130214/fig/bamQuartier1.pdf
Normal file
Binary file not shown.
5
1ES/DS/DS_130214/fig/bamQuartier1.tex
Normal file
5
1ES/DS/DS_130214/fig/bamQuartier1.tex
Normal file
@@ -0,0 +1,5 @@
|
||||
\begin{pspicture*}(-.4,-.5)(5.5,2)
|
||||
\psset{xunit=.1,yunit=.5}
|
||||
%sinon :
|
||||
\bam{10}{10}{15}{25}{38}{45}{45}
|
||||
\end{pspicture*}
|
||||
BIN
1ES/DS/DS_130214/fig/bamQuartier2.pdf
Normal file
BIN
1ES/DS/DS_130214/fig/bamQuartier2.pdf
Normal file
Binary file not shown.
5
1ES/DS/DS_130214/fig/bamQuartier2.tex
Normal file
5
1ES/DS/DS_130214/fig/bamQuartier2.tex
Normal file
@@ -0,0 +1,5 @@
|
||||
\begin{pspicture*}(-.4,-.5)(5.5,1)
|
||||
\psset{xunit=.1,yunit=.5}
|
||||
%sinon :
|
||||
\bam{11}{11}{19}{31}{37}{54}{54}
|
||||
\end{pspicture*}
|
||||
BIN
1ES/DS/DS_130214/fig/bamQuartier3.pdf
Normal file
BIN
1ES/DS/DS_130214/fig/bamQuartier3.pdf
Normal file
Binary file not shown.
5
1ES/DS/DS_130214/fig/bamQuartier3.tex
Normal file
5
1ES/DS/DS_130214/fig/bamQuartier3.tex
Normal file
@@ -0,0 +1,5 @@
|
||||
\begin{pspicture*}(-.4,-.5)(5.5,1)
|
||||
\psset{xunit=.1,yunit=.5}
|
||||
%sinon :
|
||||
\bam{19}{19}{20}{37}{41}{43}{43}
|
||||
\end{pspicture*}
|
||||
41
1ES/DS/DS_130214/fig/boiteAMoustaches.sty
Normal file
41
1ES/DS/DS_130214/fig/boiteAMoustaches.sty
Normal file
@@ -0,0 +1,41 @@
|
||||
\NeedsTeXFormat{LaTeX2e}
|
||||
% Macro pour faire des boites à moustaches
|
||||
|
||||
\RequirePackage{multido}
|
||||
\RequirePackage{calc}
|
||||
\RequirePackage{ifthen}
|
||||
|
||||
|
||||
%\bam{min}{d1}{q1}{med}{q2}{d9}{max}
|
||||
\newlength{\haut}
|
||||
\newlength{\bas}
|
||||
\newcounter{bam}\setcounter{bam}{-1}
|
||||
\newcommand{\bam}[7]{
|
||||
\ifthenelse{\thebam=-1}{
|
||||
% C'est la première boite à moustache, il faut mettre en place les premiers éléments
|
||||
\psset{fillstyle=solid}
|
||||
\psline(0,0)(100,0)
|
||||
{\scriptsize
|
||||
\multido{\n=0+10}{11}{%
|
||||
\psline(\n,.1)(\n,-.1)
|
||||
\uput[d](\n,0){\n}}}
|
||||
}{}
|
||||
|
||||
% Dessin de la boite à moustaches
|
||||
% Décalage vers le haut de la boite à moustaches
|
||||
\addtocounter{bam}{2}
|
||||
% On trace la boite
|
||||
\setlength{\haut}{\thebam\psyunit+.5\psyunit}
|
||||
\setlength{\bas}{\thebam\psyunit-.5\psyunit}
|
||||
% On trace du min au max avec des pointillés
|
||||
\psline[linestyle=dotted](#1,\thebam\psyunit)(#7,\thebam\psyunit)
|
||||
% On trace de d1 à d9 les moustaches
|
||||
\psline{|-|}(#2,\thebam\psyunit)(#6,\thebam\psyunit)
|
||||
% On trace la boite
|
||||
\psframe(#3,\bas)(#5,\haut)
|
||||
%\uput[u](#3,\haut){$Q_1$}
|
||||
%\uput[u](#5,\haut){$Q_3$}
|
||||
% Puis la médiane
|
||||
\psline(#4,\bas)(#4,\haut)
|
||||
%\uput[u](#4,\haut){$Me$}
|
||||
}
|
||||
BIN
1ES/DS/DS_130214/fig/histQuartier3.pdf
Normal file
BIN
1ES/DS/DS_130214/fig/histQuartier3.pdf
Normal file
Binary file not shown.
26
1ES/DS/DS_130214/fig/pstricks.sh
Normal file
26
1ES/DS/DS_130214/fig/pstricks.sh
Normal file
@@ -0,0 +1,26 @@
|
||||
#!/bin/sh
|
||||
# on enlève l’extension du 1er argument
|
||||
FILE=${1%.*}
|
||||
TMPFILE=pstemp
|
||||
# création d’un fichier temporaire psttemp.tex
|
||||
cat > $TMPFILE.tex <<EOF
|
||||
\documentclass{article}
|
||||
\usepackage{pstricks}
|
||||
\usepackage{pstricks-add}
|
||||
\usepackage{pst-eps}
|
||||
\usepackage{boiteAMoustaches}
|
||||
\thispagestyle{empty}
|
||||
\begin{document}
|
||||
\begin{TeXtoEPS}
|
||||
\input{$FILE}
|
||||
\end{TeXtoEPS}
|
||||
\end{document}
|
||||
EOF
|
||||
# Création du fichier dvi
|
||||
latex $TMPFILE
|
||||
# Création du fichier eps
|
||||
dvips -E $TMPFILE.dvi -o $TMPFILE.eps
|
||||
# Création du fichier pdf
|
||||
epstopdf $TMPFILE.eps --debug --outfile=$FILE.pdf
|
||||
# effacement des fichiers temporaires
|
||||
rm -f $TMPFILE.*
|
||||
Reference in New Issue
Block a user