zipf.tex (308B)
1 \begin{tikzpicture} 2 \begin{loglogaxis}[modern, width=45mm, ymax=1, xtick={1,10}, minor xtick={2,...,9}] 3 \addplot+[black, mark options={fill=black}, mark size=0.4mm, samples at={1,...,10}] 4 {x^(-2)/1.5497677311665408}; 5 % \sum_{i=1}^{10} i^{-2} = 1.5497677311665408 6 \end{loglogaxis} 7 \end{tikzpicture}