blob: d75b58c5f167888d48adf50a15cf5bcd74e1d287 (
plain)
1
2
3
4
5
6
7
8
|
\begin{tikzpicture}
\tkzInit[xmax=5,ymax=5] \tkzGrid
\tkzDefPoints{0/0/A,2/2/B,3/3/C,5/5/D}
\tkzDefRandPointOn[line = A--B]\tkzGetPoint{a}
\tkzDefRandPointOn[line = C--D]\tkzGetPoint{d}
\tkzDrawPoints(A,B,C,D,a,d)
\tkzLabelPoints(A,B,C,D,a,d)
\end{tikzpicture}
|