如何将表格放在图表下方以便类别与轴范围相匹配?

如何将表格放在图表下方以便类别与轴范围相匹配?

我正在尝试做的是将表格与 x 轴类别或范围对齐,以便 x 范围下方的列与数据相对应

enter image description here

因此正如示例所示,我想在给定的 x 范围之间创建表列。

我的代码到目前为止

\begin{tikzpicture}[scale=1]
\begin{semilogxaxis}[
%xtick= {0.001,0.005,0.01,0.05,0.1,0.5,1.0,5.0,10.0,50.0,100.0},
ytick= {0,10,20,30,40,50,60,70,80,90,100},
xmin=0.001, 
ymin =0, 
ymax =100, 
xmax = 100,
max space between ticks=10,
grid=both,
y post scale=1.3,
x post scale=2.5,
log ticks with fixed point,
%x tick label style={/pgf/number format/1000 sep=\,},
minor y tick num=1,
extra x ticks={0.005,0.05,0.5,5,50},
extra x tick labels={$0.005$,$0.05$,$0.5$,$5$,$50$}
]

\addplot table[x=b,y=a, col sep=comma] {somedata.csv};
\legend{some}
\end{semilogxaxis}

相关内容