\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}