答案1
试试这个代码:
\documentclass{article}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}
\draw (0,0) circle(3);
\draw[->,line width=2pt] (4,-1)--(4,1) node[pos=.5,right] () {\bfseries \large $z$};
\clip (0,0) circle(3);
\fill[red,draw,dashed] (-2,-3.5) rectangle (2,3.5);
\end{tikzpicture}
\end{document}
输出:
编辑:如果您想要一个模式,请使用例如以下代码:
\documentclass{article}
\usepackage{tikz}
\usetikzlibrary{patterns}
\begin{document}
\begin{tikzpicture}
\draw (0,0) circle(3);
\draw[->,line width=2pt] (4,-1)--(4,1) node[pos=.5,right] () {\bfseries \large $z$};
\clip (0,0) circle(3);
\fill[pattern=north east lines,draw,dashed] (-2,-3.5) rectangle (2,3.5);
\end{tikzpicture}
\end{document}
你有这个输出: