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

% Ex. No. 100 (Section 15.2.1 : Link the points of a scatter plot with \tkzcname{tkzJoinSetOfPoints})

\begin{tikzpicture}[scale=1]
\tkzInit[xmax=5,
         ymin=1000,ymax=6000,ystep=1000]
\tkzDrawX[label=$m$,below=13pt]
\tkzDrawY[label=$R(m)$]
\tkzLabelX[font=\scriptsize]
\tkzLabelY[font=\scriptsize]
\tkzDefSetOfPoints{%
   1/2000,2/3000,4/2500,5/4200}
\tkzJoinSetOfPoints[%
      thick,
      color=brown]
\tkzDrawSetOfPoints[%
      mark=ball
	,mark size=3pt]
\end{tikzpicture}

\end{document}