I have a drawing of a curved-plate capacitor:
\documentclass[]{standalone}
\usepackage{tikz}
\usetikzlibrary{arrows}
\usetikzlibrary{intersections}
\begin{document}
\begin{tikzpicture}[
baseline=(current bounding box.center),
capacitor/.style = {
line width=2mm,
color=black,
},
cable/.style = {
very thick,
color=black,
-o,
},
]
%
\def\upper{(1,4) to[out=-30,in=210] (9,4)}
\def\lower{(1,1) -- (9,1)}
\draw [thick, gray] \lower;
\draw [thick, gray, name path=membrane] \upper;
% invisible paths for intersections
\path [name path=verticalout] (7,0) -- (7,5);
% upper plate of the capacitor on the bended membrane
\begin{scope}
\clip (2.45,-1) rectangle (7.55,5.5);
\draw [capacitor] \upper;
\draw [capacitor] \lower;
\foreach \i in {2,3,...,8} {
\path[yshift=-4mm] (1,4) to[out=-30,in=210] node[red, pos=0.\i]{$+$} (9,4);
\path[yshift=4mm] (1,1) -- node[blue, pos=0.\i]{$-$} (9,1);
}
\end{scope}
% cables out
\draw [cable, name intersections={of=membrane and verticalout}]
(intersection-1) |- (11,5);
\draw [cable] (7,1) |- (11,-0.5);
\end{tikzpicture}
\end{document}

Although I am quite satisfied with the resulting figure, I think that the foreach part I used to put the red pluses and the blue minuses is quite hacky:
I can't use the macro
\upperand\lowerthere (I have to split the path building expression);I am not sure that the vertical alignment is guaranteed if I change the
\upperor\lowerpathI tried to do it with text decorations, but failed in three things:
I have to use a string like
$+ + + +$because I could not find how to "repeat" a single charThe symbols got rotated along the path
I gave up trying to align the upper "+" with the lower "-"...
Is there a generic way to put a series of repeated symbols along a path?

decorations.textlibrary? Probably you wanttext effects along pathalthoughtext along pathmight be OK. – cfr May 07 '15 at 12:44\def\upper{(1,4) to[out=-30,in=210] node foreach \i in {2,3,...,8}[yshift=-4mm,red, pos=0.\i] {$+$} (9,4)} \def\lower{(1,1) -- node foreach \i in {2,3,...,8}[yshift=4mm,blue, pos=0.\i] {$-$} (9,1)}– May 07 '15 at 14:14foreachinto apath... thanks. – Rmano May 07 '15 at 14:38