| 1 |
\section{Using an orthogonal coordinate system} |
| 2 |
\subsection{Coordinate system with \tkzcname{tkzRep}} |
| 3 |
\hypertarget{rep}{} |
| 4 |
\begin{NewMacroBox}{tkzRep}{\oarg{local options}}% |
| 5 |
\begin{tabular}{lll}% |
| 6 |
options & default & definition \\ |
| 7 |
\midrule |
| 8 |
\TOline{line width}{|0.8pt|}{line width defines the width of the line } |
| 9 |
\TOline{xlabel}{|$\vec{\imath}$|}{label for the abscissa axis} |
| 10 |
\TOline{ylabel}{|$\vec{\jmath}$|}{label for the ordinate axis} |
| 11 |
\TOline{posxlabel }{|below=2pt|} {Label position} |
| 12 |
\TOline{posylabel }{|left=2pt|} {Label position } |
| 13 |
\TOline{xnorm}{|1|} {norm of the x-vector} |
| 14 |
\TOline{ynorm}{|1|}{vector norm in y} |
| 15 |
\TOline{color}{|black|}{line colour} |
| 16 |
\TOline{colorlabel}{|black|}{label color } |
| 17 |
\end{tabular} |
| 18 |
\end{NewMacroBox} |
| 19 |
|
| 20 |
\subsubsection{Some modifiable styles } |
| 21 |
\begin{tkzltxexample}[small] |
| 22 |
\tikzset{xlabel style/.style = {below = 3 pt, |
| 23 |
inner sep = 1pt, |
| 24 |
outer sep = 0pt}} |
| 25 |
\tikzset{ylabel style/.style = {left = 3 pt, |
| 26 |
inner sep = 1pt, |
| 27 |
outer sep = 0pt}} |
| 28 |
\tikzset{xaxe style/.style = {> = latex, ->}} |
| 29 |
\tikzset{yaxe style/.style = {> = latex, ->}} |
| 30 |
\end{tkzltxexample} |
| 31 |
|
| 32 |
\subsubsection{Example of use } |
| 33 |
\begin{tkzexample}[small] |
| 34 |
\begin{tikzpicture} |
| 35 |
\tikzset{xaxe style/.style={-}} |
| 36 |
\tikzset{yaxe style/.style={-}} |
| 37 |
\tkzInit[xmax=4,ymax=4] |
| 38 |
\tkzGrid |
| 39 |
\tkzDrawX |
| 40 |
\tkzDrawY |
| 41 |
\tkzRep[color=red,ynorm=2] |
| 42 |
\end{tikzpicture} |
| 43 |
\end{tkzexample} |
| 44 |
|
| 45 |
|
| 46 |
|
| 47 |
\vspace{12pt} |
| 48 |
For those who use \tkzname{french} with \tkzname{babel}, in case of problems with version 3 of pgf, just load the \tkzname{babel} library. \TIKZ\ was indeed sometimes allergic to the active characters. |
| 49 |
|
| 50 |
\endinput |