Import work from year 2013-2014
This commit is contained in:
BIN
3ePro/GrpA/9eProj/fig/graph.pdf
Normal file
BIN
3ePro/GrpA/9eProj/fig/graph.pdf
Normal file
Binary file not shown.
28
3ePro/GrpA/9eProj/fig/graph.tex
Normal file
28
3ePro/GrpA/9eProj/fig/graph.tex
Normal file
@@ -0,0 +1,28 @@
|
||||
\begin{pspicture}(-0,-0)(15,15)
|
||||
% Cadrillage gris
|
||||
\psgrid[griddots=1,
|
||||
gridlabels=0pt, % Pas de label
|
||||
subgriddiv=2, % 5 carrés toutes les unités
|
||||
gridcolor=black]
|
||||
% Cadrillage noir
|
||||
%\psgrid[gridlabels=0pt,
|
||||
% subgriddiv=1,
|
||||
% gridcolor=black]
|
||||
\psaxes
|
||||
[
|
||||
%ytrigLabels=true,
|
||||
linewidth=\pslinewidth,
|
||||
%labelFontSize=\scriptscriptstyle,
|
||||
tickcolor=black,
|
||||
ticksize=-1.5pt 1.5pt,
|
||||
xlabelsep=3pt,
|
||||
arrowscale=2, % Taille des flèches
|
||||
%trigLabelBase=4,
|
||||
Dx=1, % On ajoute 5
|
||||
dx=2, % tous les 1 sur l'axe des abscisses
|
||||
Dy=100,
|
||||
dy=1,
|
||||
]{->}(0,0)(-0.1,-0.1)(15,15)[Jours, 90][Cout, 320]
|
||||
\psset{algebraic,linewidth=1.5pt}
|
||||
|
||||
\end{pspicture}
|
||||
BIN
3ePro/GrpA/9eProj/fig/graph2.pdf
Normal file
BIN
3ePro/GrpA/9eProj/fig/graph2.pdf
Normal file
Binary file not shown.
28
3ePro/GrpA/9eProj/fig/graph2.tex
Normal file
28
3ePro/GrpA/9eProj/fig/graph2.tex
Normal file
@@ -0,0 +1,28 @@
|
||||
\begin{pspicture}(-0,-0)(8,11)
|
||||
% Cadrillage gris
|
||||
\psgrid[griddots=1,
|
||||
gridlabels=0pt, % Pas de label
|
||||
subgriddiv=2, % 5 carrés toutes les unités
|
||||
gridcolor=black]
|
||||
% Cadrillage noir
|
||||
%\psgrid[gridlabels=0pt,
|
||||
% subgriddiv=1,
|
||||
% gridcolor=black]
|
||||
\psaxes
|
||||
[
|
||||
%ytrigLabels=true,
|
||||
linewidth=\pslinewidth,
|
||||
%labelFontSize=\scriptscriptstyle,
|
||||
tickcolor=black,
|
||||
ticksize=-1.5pt 1.5pt,
|
||||
xlabelsep=3pt,
|
||||
arrowscale=2, % Taille des flèches
|
||||
%trigLabelBase=4,
|
||||
Dx=5, % On ajoute 5
|
||||
dx=1, % tous les 1 sur l'axe des abscisses
|
||||
Dy=10,
|
||||
dy=1,
|
||||
]{->}(0,0)(-0.1,-0.1)(8,11)[Hot-dog, 90][Cout, 320]
|
||||
\psset{algebraic,linewidth=1.5pt}
|
||||
|
||||
\end{pspicture}
|
||||
28
3ePro/GrpA/9eProj/fig/pstricks.sh
Executable file
28
3ePro/GrpA/9eProj/fig/pstricks.sh
Executable file
@@ -0,0 +1,28 @@
|
||||
#!/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{pst-eucl}
|
||||
\usepackage{pst-plot}
|
||||
\usepackage{pst-math}
|
||||
\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