diff options
author | Norbert Preining <norbert@preining.info> | 2020-03-09 03:01:39 +0000 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2020-03-09 03:01:39 +0000 |
commit | 0561778af6f8fde0a3a1c334e2aab9a4f1142d6e (patch) | |
tree | c19fe45e4101aed56e7fb3602174c6a5e335d7d1 /macros/latex/contrib/tkz/tkz-base/doc/latex/TKZdoc-base-marks.tex | |
parent | a8880a5ee484845d9a526c5ca8d21d31214af22b (diff) |
CTAN sync 202003090301
Diffstat (limited to 'macros/latex/contrib/tkz/tkz-base/doc/latex/TKZdoc-base-marks.tex')
-rw-r--r-- | macros/latex/contrib/tkz/tkz-base/doc/latex/TKZdoc-base-marks.tex | 88 |
1 files changed, 39 insertions, 49 deletions
diff --git a/macros/latex/contrib/tkz/tkz-base/doc/latex/TKZdoc-base-marks.tex b/macros/latex/contrib/tkz/tkz-base/doc/latex/TKZdoc-base-marks.tex index 97f9fabb12..32ccd34e17 100644 --- a/macros/latex/contrib/tkz/tkz-base/doc/latex/TKZdoc-base-marks.tex +++ b/macros/latex/contrib/tkz/tkz-base/doc/latex/TKZdoc-base-marks.tex @@ -1,35 +1,33 @@ -\section{Marks, marques ou symboles} +\section{Marks or symbols} -J'ai distingué les points utilisés en géométrie euclidienne et les « marks » ou symboles que l'on peut rencontrés en statistiques. +I distinguished between the points used in Euclidean geometry and the "marks or symbols" that can be found in statistics. -Pour positionner le symbole, on utilise la macro \tkzcname{tkzDefPoint} pour définir correctement un point, puis la macro \tkzcname{tkzDrawMark} pour tracer le symbole. +To position the symbol, we use the macro \tkzcname{tkzDefPoint} to correctly define a point, then the macro \tkzcname{tkzDrawMark} to draw the symbol. -Il est fréquent d'avoir à tracer un nuage de points, j'ai donc créé une macro qui permet de définir plusieurs points rapidement. +It is common to have to draw a scatter plot , so I created a macro that allows you to define several points quickly. -Un symbole "mark" peut être mise à l'échelle , ce qui est parfois utile, mais en revanche si on modifie différemment les abscisses et les ordonnées alors les "marks" sont déformées. +A "mark" symbol can be scaled, which is sometimes useful, but, on the other hand, if you change the abscissa and ordinates differently then the "marks" are distorted. -Rappel: il était déjà possible de créer un nuage de points avec la macro \tkzcname{tkzDefPoints}, mais cela impose de donner une référence (un nom) à chaque point, ce qui est parfois fastidieux. La macro \tkzcname{tkzSetOfPoints} permet de définir des points \tkzname{tkzPt1}, \tkzname{tkzPt2},etc. -La macro \tkzcname{tkzDefSetOfPoints} a été défini +Reminder: it was already possible to create a cloud of points with the macro \tkzcname{tkzDefPoints}, but this requires to give a reference (a name) to each point, which is sometimes tedious. The macro \tkzcname{tkzSetOfPoints} allows to define points \tkzname{tkzPt1}, \tkzname{tkzPt2}, etc. - -C'est ce qu'on appelle fréquemment « nuage de points». La différence par rapport à la macro \tkzcname{tkzDefPoints}, c'est que la référence aux points est donnée par un préfixe (par défaut tkzPt) et le numéro du point. -Les points ne sont pas tracés. Voir -\hyperlink{label_tkzDefSetOfPoints}{tkzDefSetOfPoints} +This is frequently referred to as the "scatter plot ". The difference from the macro \tkzcname{tkzDefPoints} is that the reference to the points is given by a prefix (default tkzPt) and the point number. + +The points are not drawn. \subsection{\tkzcname{tkzDrawSetOfPoints}} -\begin{NewMacroBox}{tkzDrawSetOfPoints}{\oarg{local options}} -Permet de placer des symboles sur les points définis par \tkzcname{tkzDefSetOfPoints}. +\begin{NewMacroBox}{tkzDrawSetOfPoints}{\oarg{local options}}% +Allows you to place symbols on the points defined by \tkzcname{tkzDefSetOfPoints}. \medskip -\begin{tabular}{lll} -options & défaut & définition \\ +\begin{tabular}{lll}% +options & default & definition \\ \midrule -\TOline{prefix} {tkzPt} {préfixe des noms des points} +\TOline{prefix} {tkzPt} {point name prefix} \end{tabular} \end{NewMacroBox} - \subsubsection{Tracé d'un nuage avec \tkzcname{tkzDrawSetOfPoints}} +\subsubsection{Drawing of a scatter plot with \tkzcname{tkzDrawSetOfPoints}} \begin{tkzexample}[latex=6cm,small] \begin{tikzpicture}[scale=0.75] \tkzInit[xmax=6,ymin=1000,ymax=5000,ystep=1000] @@ -42,21 +40,19 @@ options & défaut & définition \\ \end{tikzpicture} \end{tkzexample} -\newpage \subsection{\tkzcname{tkzJoinSetOfPoints}} - -\begin{NewMacroBox}{tkzJoinSetOfPoints}{\oarg{local options}} -Permet de joindre les symboles par des segments de droite. Il est possible d'utiliser bien sûr toutes les options de \TIKZ. +\begin{NewMacroBox}{tkzJoinSetOfPoints}{\oarg{local options}}% +Allows the symbols to be joined by line segments. Of course, it is possible to use all the options of \TIKZ. \medskip -\begin{tabular}{lll} -options & défaut & définition \\ +\begin{tabular}{lll}% +options & default & definition \\ \midrule -\TOline{prefix} {tkzPt} {préfixe des noms des points} +\TOline{prefix} {tkzPt} {point name prefix} \end{tabular} \end{NewMacroBox} -\subsubsection{Lier les points d'un nuage avec \tkzcname{tkzJoinSetOfPoints}} +\subsubsection{Link the points of a scatter plot with \tkzcname{tkzJoinSetOfPoints}} \begin{tkzexample}[latex=7cm,small] \begin{tikzpicture}[scale=1] \tkzInit[xmax=5, @@ -76,8 +72,7 @@ options & défaut & définition \\ \end{tikzpicture} \end{tkzexample} -\subsubsection{Utilisation des points d'un nuage} - +\subsubsection{Using the points of a scatter plot} \begin{tkzexample}[latex=7cm,small] \begin{tikzpicture}[scale=.5] \tkzInit[xmax=5,ymin=1000, @@ -97,17 +92,15 @@ options & défaut & définition \\ % \subsection{Mark option \tkzname{mark} et \tkzname{size}} \subsection{\tkzcname{tkzSetUpMark}} - -\begin{NewMacroBox}{tkzSetUpMark}{\oarg{local options}} -\begin{tabular}{lll} -options & défaut & définition \\ +\begin{NewMacroBox}{tkzSetUpMark}{\oarg{local options}}% +\begin{tabular}{lll}% +options & default & example \\ \midrule -\TOline{liste}{no default}{exemple \tkzcname{tkzSetUpMark[mark=heart]}} +\TOline{liste}{no default}{\tkzcname{tkzSetUpMark[mark=heart]}} \end{tabular} - \end{NewMacroBox} -\subsubsection{Deux nuages} +\subsubsection{Two scatter plots} \begin{tkzexample}[latex=7cm,small] \begin{tikzpicture} \tkzInit[xmax=5.5,ymin=1000,% @@ -136,19 +129,18 @@ options & défaut & définition \\ \end{tkzexample} \subsection{\tkzcname{tkzDrawMark}} - -\begin{NewMacroBox}{tkzDrawMark}{\oarg{local options}\parg(point)} -Place un symbole. Plus efficace que la suivante pour placer un seul symbole. +\begin{NewMacroBox}{tkzDrawMark}{\oarg{local options}\parg(point)}% +Place a symbol. More efficient than the next to place a single symbol. \medskip -\begin{tabular}{lll} -options & défaut & définition \\ +\begin{tabular}{lll}% +options & default & definition \\ \midrule -\TOline{prefix} {tkzPt} {préfixe des noms des points} +\TOline{prefix} {tkzPt} {point name prefix} \end{tabular} \end{NewMacroBox} - +\subsubsection{Ball; use of \tkzcname{tkzDrawMarks}} \begin{tkzexample}[latex=7cm,small] \begin{tikzpicture} \tkzInit[xmax=3,ymax=1] @@ -157,21 +149,19 @@ options & défaut & définition \\ \end{tikzpicture} \end{tkzexample} - \subsection{\tkzcname{tkzDrawMarks}} - -\begin{NewMacroBox}{tkzDrawMarks}{\oarg{local options}\parg(list of points)} -Permet de placer une série de marques. +\begin{NewMacroBox}{tkzDrawMarks}{\oarg{local options}\parg(list of points)}% +Allows you to place a series of marks. \medskip -\begin{tabular}{lll} -options & défaut & définition \\ +\begin{tabular}{lll}% +options & default & definition \\ \midrule -\TOline{prefix} {tkzPt} {préfixe des noms des points} +\TOline{prefix} {tkzPt} {point name prefix} \end{tabular} \end{NewMacroBox} -\subsubsection{Mark et nuage; utilisation de \tkzcname{tkzDrawMarks}} +\subsubsection{Mark and plot; use of \tkzcname{tkzDrawMarks}} \begin{tkzexample}[latex=7cm,small] \begin{tikzpicture} \tkzInit[xmax=6,ymin=1000, |