如何缩放箭头?

如何缩放箭头?

我尝试缩放箭头。在第一个图中,白色箭头明显比灰色箭头宽。在第二个图中,它们看起来很相似。但是参数的比例相同。我应该如何调整?非常感谢!

\documentclass{beamer}

\usepackage{tikz}

\usetikzlibrary{shapes.arrows} 



\begin{document}

\begin{frame}{A}

\begin{figure}[H]
\centering

\begin{tikzpicture}[xscale=4,yscale=4]

\draw [fill=white] (0,-0.8) circle [radius=0.1];



 \node[draw, single arrow,
          minimum height=20mm, minimum width=12mm,
          single arrow head extend=2mm,
          anchor=west, rotate=-90] at (0,-1) {};
          
\node[draw, single arrow,
          minimum height=23mm, minimum width=4mm,
          single arrow head extend=2mm,
          anchor=west, rotate=-125, fill=gray] at (-0.3,-1) {};
          
\node[draw, single arrow,
          minimum height=23mm, minimum width=4mm,
          single arrow head extend=2mm,
          anchor=west, rotate=-55, fill=gray] at (0.3,-1) {};
          
\draw (-0.1,-1.6) rectangle (0.1,-1.8);

\draw (-0.8,-1.6) rectangle (-0.6,-1.8);

\draw (0.6,-1.6) rectangle (0.8,-1.8);


\end{tikzpicture}


\end{figure}

\end{frame}


\begin{frame}{B}

\begin{figure}[H]
\centering

\begin{tikzpicture}[xscale=2,yscale=2]

\draw [fill=white] (0,-0.8) circle [radius=0.1];



 \node[draw, single arrow,
          minimum height=10mm, minimum width=6mm,
          single arrow head extend=1mm,
          anchor=west, rotate=-90] at (0,-1) {};
          
\node[draw, single arrow,
          minimum height=11.5mm, minimum width=2mm,
          single arrow head extend=1mm,
          anchor=west, rotate=-125, fill=gray] at (-0.3,-1) {};
          
\node[draw, single arrow,
          minimum height=11.5mm, minimum width=2mm,
          single arrow head extend=1mm,
          anchor=west, rotate=-55, fill=gray] at (0.3,-1) {};
          
\draw (-0.1,-1.6) rectangle (0.1,-1.8);

\draw (-0.8,-1.6) rectangle (-0.6,-1.8);

\draw (0.6,-1.6) rectangle (0.8,-1.8);


\end{tikzpicture}


\end{figure}

\end{frame}


\end{document}

答案1

这是您需要的嗎?

在此处输入图片描述

\documentclass{beamer}

\usepackage{tikz}

\usetikzlibrary{shapes.arrows} 



\begin{document}

\begin{frame}{A}

\begin{figure}[H]
\centering

\begin{tikzpicture}[xscale=4,yscale=4]

\draw [fill=white] (0,-0.8) circle [radius=0.1];



 \node[draw, single arrow,scale=0.2,%<<<<<<<<<<<<<<
          minimum height=20mm, minimum width=12mm,
          single arrow head extend=2mm,
          anchor=west, rotate=-90] at (0,-1) {};
          
\node[draw, single arrow,scale=0.5,%<<<<<<<<<<<<<<
          minimum height=23mm, minimum width=4mm,
          single arrow head extend=2mm,
          anchor=west, rotate=-125, fill=gray] at (-0.3,-1) {};
          
\node[draw, single arrow,scale=0.9,%<<<<<<<<<<<<<<
          minimum height=23mm, minimum width=4mm,
          single arrow head extend=2mm,
          anchor=west, rotate=-55, fill=gray] at (0.3,-1) {};
          
\draw (-0.1,-1.6) rectangle (0.1,-1.8);

\draw (-0.8,-1.6) rectangle (-0.6,-1.8);

\draw (0.6,-1.6) rectangle (0.8,-1.8);


\end{tikzpicture}


\end{figure}

\end{frame}

\end{document}

相关内容