Retour

reperes.tex

Télécharger le fichier Fichier PDF
% Utilisation du package PicTeX
%
\documentclass[a4paper]{article}
\usepackage[applemac]{inputenc} % pour MAC
% \usepackage[latin1]{inputenc} % pour Linux ou Windows
\usepackage{rawfonts,pictex}
\usepackage[dvips]{graphics,color}
\usepackage{palatino,geometry}
\pagestyle{empty}
\geometry{margin=2cm}
 
\begin{document}
 
\definecolor{gris}{gray}{0.9}
 
\begin{center}\parbox{10cm}{
\beginpicture
   \normalgraphs
   \setcoordinatesystem units <1cm,1cm>
   \setplotarea x from 0 to 10, y from 0 to 10
   \color{gris}
   \grid {100} {100}
   \color{black}
   \grid {10} {10}
   \plotheading{\textbf{Figure 1} - Zone millimétrée}
\endpicture
}
\end{center}
 
\newpage
 
\begin{center}\parbox{10cm}{
\beginpicture
   \normalgraphs
   \setcoordinatesystem units <1cm,1cm>
   \setplotarea x from -5 to 5, y from -5 to 5
   \axis left shiftedto x=0 ticks from -4.5 to 4.5 by 0.5 /
   \axis left shiftedto x=0 ticks numbered from -4 to -1 by 1 /
   \axis left shiftedto x=0 ticks numbered from 1 to 4 by 1 /
   \axis bottom shiftedto y=0 ticks from -4.5 to 4.5 by 0.5 /
   \axis bottom shiftedto y=0 ticks numbered from -4 to -1 by 1 /
   \axis bottom shiftedto y=0 ticks numbered from 1 to 4 by 1 /
   \plotheading{\textbf{Figure 2} - Un repère vide}
\endpicture
}
\end{center}
 
\newpage
 
\begin{center}\parbox{10cm}{
\beginpicture
   \normalgraphs
   \setcoordinatesystem units <1cm,1cm>
   \setplotarea x from -5 to 5, y from -5 to 5
   \arrow <15pt> [0.15,0.5] from 0 -5 to 0 5
   \arrow <15pt> [0.15,0.5] from -5 0 to 5 0
   \plotheading{\textbf{Figure 3} - Des axes orientés}
\endpicture
}
\end{center}
 
\newpage
 
\begin{center}\parbox{10cm}{
\beginpicture
   \normalgraphs
   \setcoordinatesystem units <1cm,1cm>
   \setplotarea x from -5 to 5, y from -5 to 5
   \axis left shiftedto x=0 ticks numbered from -4 to -1 by 1 /
   \axis left shiftedto x=0 ticks numbered from 1 to 4 by 1 /
   \axis bottom shiftedto y=0 ticks numbered from -4 to -1 by 1 /
   \axis bottom shiftedto y=0 ticks numbered from 1 to 4 by 1 /
   \arrow <10pt> [0.15,0.5] from 0 4.9 to 0 5
   \arrow <10pt> [0.15,0.5] from 4.9 0 to 5 0
   \put{$x$} at 5 -0.3
   \put{$y$} at 0.3 5
   \put{$O$} at -0.4 -0.4
   \plotheading{\textbf{Figure 4} - Un repère avec axes orientés}
\endpicture
}
\end{center}
 
\newpage
 
\definecolor{gris1}{gray}{0.9}
\definecolor{gris2}{gray}{0.65}
 
\begin{center}\parbox{10cm}{
\beginpicture
   \normalgraphs
   \setcoordinatesystem units <1cm,1cm>
   \setplotarea x from -5 to 5, y from -5 to 5
   \color{gris1}
   \grid {100} {100}
   \color{gris2}
   \grid {10} {10}
   \color{black}
   \axis left shiftedto x=0 ticks numbered from -4 to -1 by 1 /
   \axis left shiftedto x=0 ticks numbered from 1 to 4 by 1 /
   \axis bottom shiftedto y=0 ticks numbered from -4 to -1 by 1 /
   \axis bottom shiftedto y=0 ticks numbered from 1 to 4 by 1 /
   \arrow <10pt> [0.15,0.5] from 0 4.9 to 0 5
   \arrow <10pt> [0.15,0.5] from 4.9 0 to 5 0
   \put{$x$} at 4.7 -0.3
   \put{$y$} at 0.3 4.7
   \put{$O$} at -0.4 -0.4
   \plotheading{\textbf{Figure 5} - Un repère avec axes orientés et 
   fond millimétré}
\endpicture
}
\end{center}
 
\end{document}