summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/tkz/tkz-base/examples/tkzBase-8.13.1.tex
blob: 4776c77e1b4be60450a0c62feabe92dde6c0e8af (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
\input{preamble-standalone.ltx}
\begin{document}

% Ex. No. 79 (Section  8.13.1 : Creating a scatter plot with \tkzcname{tkzDefSetOfPoints})

\begin{tikzpicture}
  \tkzInit[ymax=4,xmax=5]
  \tkzAxeXY
  \tkzDefSetOfPoints[prefix=P]%
           {1/2,4/3,2/2.5}
  \tkzDrawPoints(P1,P2,P3)
  \tkzLabelPoints(P1,P2,P3)
\end{tikzpicture}

\end{document}