GitHub

@@ -0,0 +1,36 @@

1+

\documentclass[convert={density=300,size=1080x800,outext=.png}]{standalone}

2+

\usepackage{tikz}

3+

\usetikzlibrary{decorations.pathreplacing}

4+

\begin{document}

5+6+

%.. tikz::

7+

\begin{tikzpicture}

8+

[scale=5, every node/.style={color=black}, decoration={brace,amplitude=7pt}] \coordinate (a0) at (0, 0.0);

9+

\coordinate (a1) at (1, 0.0);

10+

\coordinate (a2) at (2, 0.0);

11+

\coordinate (a3) at (3, 0.0);

12+

\coordinate (s0) at (0, 0.1);

13+

\coordinate (s1) at (1, 0.1);

14+

\coordinate (s2) at (2, 0.1);

15+

\coordinate (s3) at (3, 0.1);

16+

% axis

17+

\draw[thick] (0, 0) -- (3, 0) node[below] {};

18+

%curly bracket

19+

\draw [decorate, very thick] (s0) -- (s1)

20+

node [midway, anchor=south, outer sep=10pt]{accept $f_0$};

21+

\draw [decorate, very thick] (s1) -- (s2)

22+

node [midway, anchor=south, outer sep=10pt]{draw again};

23+

\draw [decorate, very thick] (s2) -- (s3)

24+

node [midway, anchor=south, outer sep=10pt]{accept $f_1$};

25+

\node[circle, draw, thin, blue, fill=white!10, scale=0.45] at (a0){};

26+

\node[below, outer sep=5pt] at (a0){$0$};

27+

\node[circle, draw, thin, blue, fill=white!10, scale=0.45] at (a1){};

28+

\node[below, outer sep=5pt] at (a1){$B$};

29+

\node[circle, draw, thin, blue, fill=white!10, scale=0.45] at (a2){};

30+

\node[below, outer sep=5pt] at (a2){$A$};

31+

\node[circle, draw, thin, blue, fill=white!10, scale=0.45] at (a3){};

32+

\node[below, outer sep=5pt] at (a3){$1$};

33+

\node[below, outer sep=25pt] at (1.5, 0){values of $\pi$};

34+

\end{tikzpicture}

35+36+

\end{document}

Read the original on github.com ↗