I would like to illustrate the permutation group using the braid
package in TikZ-PGF, such as this image (from Wikipedia):
In fact I would like to illustrate the permutation group for N = 3, which should have 6 total configurations. Having followed the example provided, I so far have:
\documentclass[tikz]{standalone}
\usepackage{pgfplots}
\usepackage{braids}
\pgfplotsset{compat=newest}
\begin{document}
\begin{tikzpicture}
\braid[style strands={1}{red},style
strands={2}{blue},style strands={3}{green}] (TEST2) at (5,0) s_1
s_3^{-1} s_1 s_2^{−1} s_1 s_2^{−1};
\end{tikzpicture}
\end{document}
However, I am finding it difficult to understand how to change the ordering. Any help would be appreciated.
knots
(mirrors.ibiblio.org/CTAN/graphics/pgf/contrib/spath3/knots.pdf) written by the same author as the braids package (Andrew Stacey). The braids don't have any knots, but that's all I know. I'll update the MWE. – Sid Oct 17 '18 at 2:39pgfplots
is required – Sid Oct 17 '18 at 2:43\usepackage{pgfplots}
. – user121799 Oct 17 '18 at 2:49