summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/tkz-base/examples/tkzBase-15.5.1.tex
blob: 6b385195a36b3664b39b5970871af90021020303 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
\input{preamble-standalone.ltx}
\begin{document}

% Ex. No. 104 (Section 15.5.1 : Mark and plot; use of \tkzcname{tkzDrawMarks})

\begin{tikzpicture}
  \tkzInit[xmax=6,ymin=1000,
          ymax=5000,ystep=1000]
  \tkzAxeXY
  \tkzDefSetOfPoints[prefix=P]{%
        1/2000,
        2/3000,
        4/2500,
        5/4200}
  \tkzDrawSegments[color=brown!50]%
(P1,P2 P2,P3 P3,P4)
  \tkzDrawMarks[mark=ball](P1,P2,P3,P4)
\end{tikzpicture}

\end{document}