\documentclass{standalone} \usepackage{tikz} \usetikzlibrary {intersections} \begin{document} \begin{tikzpicture}[declare function={myFunc(\x) = sin(\x r);}] \path [save path=\A, name path=A, domain=0:2*pi, samples=200] plot (\x,{myFunc(\x)}); \draw [thick, fill=yellow] (-2,-2) -- (0,0) node (X) {} -- (0.5,0.479) -- (1.0,0.841) -- (1.5,0.997) -- (2.0,0.909) -- (2.5,0.598) -- (3.0,0.141) -- (3.5,-0.351) -- (4.0,-0.757) -- (4.5,-0.978) -- (5.0,-0.959) -- (5.5,-0.706) -- (6.0,-0.279) -- (6.283,0) node (Y) {}-- (8.3,-2) -- cycle; \draw circle(0.1); \draw (6.28,0) circle (0.1); \draw [<-] (X) -- (3.1,2); \draw [<-] (Y) -- (3.2,2) node [above] {use path=\textbackslash{}A}; % \draw (-2,-2) -- ({use path=\A}) -- (8.3,-2) -- cycle; \end{tikzpicture} \end{document}
D. h., ich suche die Sytax für das "Irgendwas" in
\draw (-2,-2) -- <Irgendwas> -- (8.3,-2) -- cycle;
Die im Beispiel auskommentierte Zeile zeigt meinen nicht funktionierenden Versuch.
Das Pgfmanual (Kap. 14.22) enthält dazu leider keine Hinweise.
Weiß jemand Rat?
Gruß vom Rolli