Home > Science > Biology > Genetics > Population Genetics > Heterozygosity > Figure 1
TeX source code:
\documentclass[border={2pt 2pt 2pt 2pt}]{standalone} \usepackage{tikz} % convert to png with % pdftoppm -png -r 150 out.pdf > out.png \newenvironment{mymath}{$\displaystyle}{$} \begin{document} \begin{tikzpicture} \draw[gray, very thick] (1,2) circle [radius=0.25]; \draw[gray, very thick] (2,2) circle [radius=0.25]; \draw[gray, very thick] (3,2) circle [radius=0.25]; \draw[gray, very thick] (4,2) circle [radius=0.25]; \draw[black, very thick] (5,2) circle [radius=0.25]; \draw[gray, very thick] (6,2) circle [radius=0.25]; \draw[black, very thick] (7,2) circle [radius=0.25]; \draw[gray, very thick] (8,2) circle [radius=0.25]; \draw[gray, very thick] (9,2) circle [radius=0.25]; \draw[gray, very thick] (10,2) circle [radius=0.25]; \draw[->, thick] (4.75,1.5) -- (4.25,0.5); \draw[->, thick] (7,1.5) -- (7,0.5); \path (7.8,1) node(x) {mutation}; \draw[gray, very thick] (1,0) circle [radius=0.25]; \draw[gray, very thick] (2,0) circle [radius=0.25]; \draw[gray, very thick] (3,0) circle [radius=0.25]; \draw[black, very thick] (4,0) circle [radius=0.25]; \draw[gray, very thick] (5,0) circle [radius=0.25]; \draw[gray, very thick] (6,0) circle [radius=0.25]; \draw[black, very thick, fill=gray] (7,0) circle [radius=0.25]; \draw[gray, very thick] (8,0) circle [radius=0.25]; \draw[gray, very thick] (9,0) circle [radius=0.25]; \draw[gray, very thick] (10,0) circle [radius=0.25]; \end{tikzpicture} \end{document}
Floyd A. Reed, December 5, 2020