I need to have four different noicy curves drawn in tikz. The four lines need to be different (they must have different amplitude and noise.)
They need to start from a their own baseline and again end at this baseline.
my code is as follows
\documentclass{memoir}
\usepackage{tikz}
\usetikzlibrary{positioning}
\begin{document}
\begin{figure}[h]
\centering
\begin{tikzpicture}
\newcommand\XA{1}
\newcommand\YA{10}
\newcommand\LengthProbe{5}
\newcommand\widthProbe{0.5}
\newcommand\contactPoint{0.10}
\newcommand\neuronX{3}
\newcommand\neuronY{8.5}
\path[use as bounding box,draw,black] (0,0) rectangle (12,12);
\node [circle,draw] at (\neuronX,\neuronY) (N1) {};
\node [circle,draw,below right = 0.2cm and 0.2cm of N1] () {};
\node [circle,draw,below right = 0.15cm and -0.2cm of N1] () {};
\node [circle,draw,below left = 0.6cm and -0.2cm of N1] () {};
\node [circle,draw,above right = 0.05cm and 0.2cm of N1] () {};
\node [circle,draw,below right = 0.8cm and 0.3cm of N1] () {};
\node [circle,draw,below left = 0.6cm and -0.2cm of N1] (N3) {};
\node [circle,draw,below right = 1.2cm and 0.2cm of N1] (N4) {};
\node [circle,draw,below left = 1.4cm and 0.0cm of N1] (N4) {};
\node[yshift = 10.5cm,xshift = 3.5cm] () {Before Optimization};
\coordinate (A1) at (2.5,10);
\coordinate (B1) at (2,5);
\draw (A1) to [bend left=10] (B1);
\coordinate (A2) at (4 , 10);
\coordinate (B2) at (4.5 , 5);
\draw (A2) to [bend right=10] (B2);
\draw (\XA,\YA) -- (\XA,\YA-\LengthProbe) -- (\XA+\widthProbe,\YA-\LengthProbe -\widthProbe) --(\XA+\widthProbe,\YA) -- (\XA,\YA); %linear probes
\foreach \ix in {0.2,0.8,...,4.6}
\draw (\XA+0.1,\YA-\ix) rectangle (\XA+\contactPoint+0.1,\YA-\ix-\contactPoint);
\foreach \ix in {0.3,0.9,...,5.0}
\draw (\XA+0.3,\YA-\ix-0.2) rectangle (\XA+\contactPoint+0.3,\YA-\ix-\contactPoint-0.2);
\end{tikzpicture}
\end{figure}
\end{document}



{curve}tag, since it is a "class for typesetting resumes". – dexteritas Aug 14 '17 at 18:42