'Drawing auxiliary lines in tikz

In latex, how do I draw an auxiliary line, a line that is partitioned into many little lines, from one point to another point with tikz?

I know how to use regular lines, but not auxiliary.



Solution 1:[1]

Perhaps you can use rnd?

\documentclass[margin=5mm]{standalone}
\usepackage{tikz}

\begin{document}
\begin{tikzpicture}
\draw plot[domain=0:1] (\x,rnd*0.2);
\end{tikzpicture}
\end{document}

Wiggly TikZ-line via rnd

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Juha-Matti Huusko