覆盖地图图片

覆盖地图图片

我希望绘制一个疯狂覆盖图来显示图表有什么帮助吗?

答案1

也许你想要这样的东西:

在此处输入图片描述

我不确定描述蓝线的规则,所以我添加了一些手动坐标。您可以将其更改为函数或其他。此外,出于同样的原因,我没有添加所有字符。但您可以根据需要手动添加它们或根据给定的规则添加它们。(箭头等也一样)

代码:

\documentclass[border=5mm]{standalone}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}[mycirc/.style={fill=yellow, dashed},
mydash/.style={ dashed}, blueline/.style={thick, blue},
]
\foreach \x / \y in {-5 / 2,-5/-2 , 5/2, 5/-2  }{
\draw [mycirc] (\x, \y) circle(.7cm);
\draw (\x -1, \y) --(\x+1, \y);
\draw (\x , \y+1) --(\x, \y-1);
\draw [fill=red] (\x, \y) circle(.1cm);
}



\draw[mydash] (0,3) --(0,-3);
\draw[mydash] (-2,2.5) --(-2,-3);
\draw[mydash] (2,2) --(2,-3);
% middle dots
\foreach \y in {-3,2, 2.5, 2,3}{
\draw [fill=red] (0, \y) circle(.1cm);}
% right dots
\draw[mycirc] (-2,1.5) ellipse [x radius=.3cm,y radius=.5cm] node (leftupper){};
\draw[mycirc] (-2,-3) ellipse [x radius=.5cm,y radius=.3cm] node (leftlower){};
\foreach \y in {-3,1.5, 2.5}{
\draw [fill=red] (-2, \y) circle(.1cm);}
%left dots
\draw[mycirc] (2,2) ellipse [x radius=.3cm,y radius=.5cm]node (rightupper){};
\draw[mycirc] (2,-3) ellipse [x radius=.5cm,y radius=.3cm]node (rightlower){};
\foreach \y in {-3,2}{
\draw [fill=red] (2, \y) circle(.1cm);}
%left elipisi

\draw[smooth cycle, blueline] plot[ tension=1]coordinates {(0,0) (2,0) (2.5,1) (2.5,1.5)(2,3.5)(-2,3.5) (-2.5,2.5) (-1.8,2 ) (-2.5,1.7 )(-2.3, 0.3) };
\draw[smooth, blueline ] plot coordinates {(-2.2,-2) (0,-1.5) (2.2,-2)};


\draw[->] (leftupper.west) --++(left:1cm);
\draw[->] (leftlower.west) --++(left:1cm);
\draw[->] (rightupper.east) --++(right:1cm);
\draw[->] (rightlower.east) --++(right:1cm);

\node at (-4,3) {$C,z$};
\node at (-4,-3) {$C,w$};
\node at (4,3) {$C,z$};
\node at (4,-3) {$C,w$};

\node at (-4,0){$w=z^2$};
\node at (4,0){$w=z^3$};

\end{tikzpicture}

\end{document}

相关内容