我需要制作这张带轴的桌子。有人可以帮我吗?
谢谢!!
答案1
你可以从这个开始。
\documentclass[tikz,border=2mm]{standalone}
\usetikzlibrary{matrix, positioning}
\usepackage{lmodern}
\begin{document}
\begin{tikzpicture}
\matrix (A) [matrix of nodes, column sep=-\pgflinewidth, row sep=-\pgflinewidth, nodes in empty cells,
nodes={minimum width=3.2cm, minimum height=1cm, align=center, draw, anchor=center},
column 1/.style={nodes={minimum width=1cm}}]
{
$X_a$ & & |[fill=gray!50]| $\Omega_1=\mu\pm\varepsilon$ &
|[fill=gray!50]| $\Omega_1=\mu\pm\varepsilon-\pi/2$ & \\
$X_b$ & & & & |[fill=gray!50]| $\Omega_1=\mu$ \\
$X_c$ & |[fill=gray!50]| $\Omega_1=\mu$& & &\\};
\draw[->] (A.south-|A-3-1.east)--([xshift=2mm]A.south east) coordinate (aux);
\node[below= 1mm of {A.south-|A-3-2.east}] {$-\Lambda_0/\Lambda_1$};
\node[below= 1mm of {A.south-|A-3-3.east}] {$0$};
\node[below= 1mm of {A.south-|A-3-4.east}] {$\Lambda_0/\Lambda_1$};
\node[below= 1mm of {A.south-|aux}] {$U/V$};
\node[fill=white, minimum width=3.2cm,minimum height=1cm,draw, anchor=west] at ([xshift=5mm]A-1-2.north west) {Case $L=0$};
\end{tikzpicture}
\end{document}