用 tikz 图片绘制变换

用 tikz 图片绘制变换

我想说明从 $xy$ 到 $uv$ 平面的变换。但我不知道如何连接这些平面。这应该是 $xy$ 平面

 \begin{document} 
\begin{figure} 
\centering
 \begin{tikzpicture}[vect/.style={->,shorten >=2pt,>=latex'}]  \tkzInit[xmin=-.5, xmax=3, ymin=-.5, ymax=3.5] 
 \tkzDrawXY[noticks,label={}]  
\tkzDefPoints{1/1/A, 0/2/B, 1/3/C, 2/2/D}  \tkzDrawPoints(A,B,C,D)  
\tkzLabelPoint[left](B){$B$} 
\tkzLabelPoint[below](A){$A$}  
\tkzLabelPoint[above](C){$C$} 
\tkzLabelPoint[right](D){$D$}  
\tkzDrawSegments(A,B B,C C,D A,D) 
\end{tikzpicture} 
\end{figure} 
\end{document}

现在 $uv$ 平面

 \begin{document}
\begin{figure}[h]
\centering
    \begin{tikzpicture}[vect/.style={->,shorten >=2pt,>=latex'}]
 \tkzInit[xmin=-3.5, xmax=3, ymin=-1, ymax=2.5]
 \tkzDrawXY[noticks,label={}]
 \tkzDefPoints{1/1/A, 0/2/B, 1/3/C, 2/2/D, -1/-1/E, 0/0/F, -1/1/G, -2/0/H}
 \tkzDrawPoints(A,B,C,D,E,F,G,H)
 \tkzLabelPoint[left](B){$B$}
 \tkzLabelPoint[below](A){$A$}
 \tkzLabelPoint[above](C){$C$}
 \tkzLabelPoint[right](D){$D$}
 \tkzDrawSegments[dashed](A,B B,C C,D A,D)
 \tkzLabelPoint[below right](F){$B'$}
 \tkzLabelPoint[below](E){$A'$}
 \tkzLabelPoint[above](G){$C'$}
 \tkzLabelPoint[below left](H){$D'$}
 \tkzDrawSegments(E,F F,G G,H H,E)
 \end{tikzpicture}
\end{figure}
\end{document}

如何在它们之间放置一个标有 $T(z)$ 的箭头?

答案1

我不确定我是否正确阅读了问题,但你可以将子图片放在local bounding boxes 中并将它们连接起来。

\documentclass{article}
\usepackage{tkz-euclide}
\begin{document} 
\begin{figure} 
\centering
 \begin{tikzpicture}[vect/.style={->,shorten >=2pt,>=latex'}]  
\begin{scope}[local bounding box=L] 
 \tkzInit[xmin=-.5, xmax=3, ymin=-.5, ymax=3.5] 
 \tkzDrawXY[noticks,label={}]  
 \tkzDefPoints{1/1/A, 0/2/B, 1/3/C, 2/2/D}  \tkzDrawPoints(A,B,C,D)  
 \tkzLabelPoint[left](B){$B$} 
 \tkzLabelPoint[below](A){$A$}  
 \tkzLabelPoint[above](C){$C$} 
 \tkzLabelPoint[right](D){$D$}  
 \tkzDrawSegments(A,B B,C C,D A,D) 
\end{scope} 
\begin{scope}[xshift=8.5cm,local bounding box=R]
 \tkzInit[xmin=-3.5, xmax=3, ymin=-1, ymax=2.5]
 \tkzDrawXY[noticks,label={}]
 \tkzDefPoints{1/1/A, 0/2/B, 1/3/C, 2/2/D, -1/-1/E, 0/0/F, -1/1/G, -2/0/H}
 \tkzDrawPoints(A,B,C,D,E,F,G,H)
 \tkzLabelPoint[left](B){$B$}
 \tkzLabelPoint[below](A){$A$}
 \tkzLabelPoint[above](C){$C$}
 \tkzLabelPoint[right](D){$D$}
 \tkzDrawSegments[dashed](A,B B,C C,D A,D)
 \tkzLabelPoint[below right](F){$B'$}
 \tkzLabelPoint[below](E){$A'$}
 \tkzLabelPoint[above](G){$C'$}
 \tkzLabelPoint[below left](H){$D'$}
 \tkzDrawSegments(E,F F,G G,H H,E)
\end{scope} 
\draw[thick,-latex] (L) -- node[above]{$T(z)$} (R.west|-L);
\end{tikzpicture}
\end{figure}
\end{document}

在此处输入图片描述

相关内容