1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
| \documentclass[10pt]{article}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{pgf,tikz}
\usetikzlibrary{arrows}
\usepackage{etex}
\usepackage[frenchb]{babel}
\begin{document}
\begin{tikzpicture}[x=1.0cm,y=0.001cm]
\draw [dash pattern=on 1pt off 2pt, xstep=1,ystep=1000] (0,21000) grid (10,35000);
\draw[-stealth, thick,color=black] (0,21000) -- (0,35000);
\foreach \y in {21,22,...,34}
\draw[color=black,y=1cm] (2pt,\y) -- (-2pt,\y) node[left] {\footnotesize $\y\,000$};
\draw[-stealth, thick,color=black] (0,21000) -- (10,21000);
\foreach \x in {0,1,...,10}
\draw[shift={(\x,20600)},color=black] (0pt,15pt) -- (0pt,6pt) node[left] {\footnotesize $\x$};
\clip(0,20000) rectangle (10,35000);
\draw [color=red, ultra thick] (1,22000)-- ++(-2.5pt,-2.5pt) -- ++(5.0pt,5.0pt) ++(-5.0pt,0) -- ++(5.0pt,-5.0pt);
\end{tikzpicture}
\end{document} |
Partager