答案1
欢迎来到 TeX.SE。您可以使用快速工具创建图片,该工具会给出长代码TikZ
:参见此示例。
\documentclass{article}
\usepackage{amsmath,amssymb}
\usepackage{tikz}
\usepackage{graphicx}
\begin{document}
\begin{figure}[!htb]
\centering
\tikzset{every picture/.style={line width=0.75pt}} %set default line width to 0.75pt
\begin{tikzpicture}[x=0.75pt,y=0.75pt,yscale=-1,xscale=1]
%uncomment if require: \path (0,400); %set diagram left start at 0, and has height of 400
%Straight Lines [id:da7273616003837933]
\draw [line width=1.5] (154.5,123) -- (169.5,174) ;
%Straight Lines [id:da23429916290670527]
\draw [line width=1.5] (191.5,79) -- (169.5,174) ;
%Straight Lines [id:da2605957224293076]
\draw [line width=1.5] (191.5,79) -- (449.5,79) ;
%Straight Lines [id:da8643007318383729]
\draw (190.5,173) -- (446.5,173) ;
% Text Node
\draw (299,184.4) node [anchor=north west][inner sep=0.75pt] [font=\Large] {$2$};
% Text Node
\draw (111,101.4) node [anchor=north west][inner sep=0.75pt] [font=\Large,color={rgb, 255:red, 74; green, 144; blue, 226 } ,opacity=1 ] {$\sin$};
% Text Node
\draw (110,140) node [anchor=north west][inner sep=0.75pt] [font=\Large,color={rgb, 255:red, 208; green, 2; blue, 27 } ,opacity=1 ] {$\cos$};
% Text Node
\draw (210,103.4) node [anchor=north west][inner sep=0.75pt] [font=\Large,color={rgb, 255:red, 74; green, 144; blue, 226 } ,opacity=1 ] {$0$};
% Text Node
\draw (262,103.4) node [anchor=north west][inner sep=0.75pt] [font=\Large,color={rgb, 255:red, 74; green, 144; blue, 226 } ,opacity=1 ] {$1$};
% Text Node
\draw (315,103.4) node [anchor=north west][inner sep=0.75pt] [font=\Large,color={rgb, 255:red, 74; green, 144; blue, 226 } ,opacity=1 ] {$2$};
% Text Node
\draw (370,104.4) node [anchor=north west][inner sep=0.75pt] [font=\Large,color={rgb, 255:red, 74; green, 144; blue, 226 } ,opacity=1 ] {$3$};
% Text Node
\draw (421,104.4) node [anchor=north west][inner sep=0.75pt] [font=\Large,color={rgb, 255:red, 74; green, 144; blue, 226 } ,opacity=1 ] {$4$};
% Text Node
\draw (210,139.4) node [anchor=north west][inner sep=0.75pt] [font=\Large,color={rgb, 255:red, 208; green, 2; blue, 27 } ,opacity=1 ] {$4$};
% Text Node
\draw (262,139.4) node [anchor=north west][inner sep=0.75pt] [font=\Large,color={rgb, 255:red, 208; green, 2; blue, 27 } ,opacity=1 ] {$3$};
% Text Node
\draw (315,139.4) node [anchor=north west][inner sep=0.75pt] [font=\Large,color={rgb, 255:red, 208; green, 2; blue, 27 } ,opacity=1 ] {$2$};
% Text Node
\draw (370,140.4) node [anchor=north west][inner sep=0.75pt] [font=\Large,color={rgb, 255:red, 208; green, 2; blue, 27 } ,opacity=1 ] {$1$};
% Text Node
\draw (421,140.4) node [anchor=north west][inner sep=0.75pt] [font=\Large,color={rgb, 255:red, 208; green, 2; blue, 27 } ,opacity=1 ] {$0$};
% Text Node
\draw (208,46.4) node [anchor=north west][inner sep=0.75pt] [font=\Large,color={rgb, 255:red, 74; green, 144; blue, 226 } ,opacity=1 ] {$0^{\circ} $};
% Text Node
\draw (254,46.4) node [anchor=north west][inner sep=0.75pt] [font=\Large,color={rgb, 255:red, 74; green, 144; blue, 226 } ,opacity=1 ] {$30^{\circ} $};
% Text Node
\draw (360,46.4) node [anchor=north west][inner sep=0.75pt] [font=\Large,color={rgb, 255:red, 74; green, 144; blue, 226 } ,opacity=1 ] {$60^{\circ} $};
% Text Node
\draw (414,47.4) node [anchor=north west][inner sep=0.75pt] [font=\Large,color={rgb, 255:red, 74; green, 144; blue, 226 } ,opacity=1 ] {$90^{\circ} $};
% Text Node
\draw (307,46.4) node [anchor=north west][inner sep=0.75pt] [font=\Large,color={rgb, 255:red, 74; green, 144; blue, 226 } ,opacity=1 ] {$45^{\circ} $};
\end{tikzpicture}
\caption{Table}
\end{figure}
\end{document}
\end{document}