von MrShenlong » Do 7. Jan 2016, 10:09
Vielen Dank für eure Antworten.
Habe mittels der Plot anweisung die Fläche hinbekommen. Gibt es eine Möglichkeit die umrandete fläche zu füllen? Habe nichts darüber gefunden.
\documentclass[tikz]{standalone}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}
% Axis
\coordinate (y) at (0,4);
\coordinate (x) at (-5,0);
\draw[<-] (y) node[above] {Im} -- (0,-4);
\draw[->] (x) -- (5,0) node[right]{Re};
\filldraw [fill=gray, draw=black, thick]
(-4,1.5) circle [radius=0.5];
\filldraw (-4,1.5) circle (1pt) node[below] {$-w$};
\draw (-5,0.75) node {$U_r(-w)$};
\filldraw [fill=gray, draw=black, thick]
(4,-1.5) circle [radius=0.5];
\filldraw (4,-1.5) circle (1pt) node[below] {$w$};
\draw (3,-2.25) node {$U_r(w)$};
\draw [dashed] (-4, 1.5) -- (4,-1.5);
\draw plot [smooth cycle] coordinates {
(2,0)(1.5,2)(1.25,2.5)(1.5,2.75)(2,3) (3,2)(3.75,1.5)(4,0)(4.75,-2)(4,-3)(2,-3)(2,-1.5)(0,-2)(-1,-1.5)} node at (4,2) {$D_{1}$};
\end{tikzpicture}
\end{document}
Vielen Dank für eure Antworten.
Habe mittels der Plot anweisung die Fläche hinbekommen. Gibt es eine Möglichkeit die umrandete fläche zu füllen? Habe nichts darüber gefunden.
[code]
\documentclass[tikz]{standalone}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}
% Axis
\coordinate (y) at (0,4);
\coordinate (x) at (-5,0);
\draw[<-] (y) node[above] {Im} -- (0,-4);
\draw[->] (x) -- (5,0) node[right]{Re};
\filldraw [fill=gray, draw=black, thick]
(-4,1.5) circle [radius=0.5];
\filldraw (-4,1.5) circle (1pt) node[below] {$-w$};
\draw (-5,0.75) node {$U_r(-w)$};
\filldraw [fill=gray, draw=black, thick]
(4,-1.5) circle [radius=0.5];
\filldraw (4,-1.5) circle (1pt) node[below] {$w$};
\draw (3,-2.25) node {$U_r(w)$};
\draw [dashed] (-4, 1.5) -- (4,-1.5);
\draw plot [smooth cycle] coordinates {
(2,0)(1.5,2)(1.25,2.5)(1.5,2.75)(2,3) (3,2)(3.75,1.5)(4,0)(4.75,-2)(4,-3)(2,-3)(2,-1.5)(0,-2)(-1,-1.5)} node at (4,2) {$D_{1}$};
\end{tikzpicture}
\end{document}
[/code]