![如何在我的图表后面添加毫米网格](https://linux22.com/image/464354/%E5%A6%82%E4%BD%95%E5%9C%A8%E6%88%91%E7%9A%84%E5%9B%BE%E8%A1%A8%E5%90%8E%E9%9D%A2%E6%B7%BB%E5%8A%A0%E6%AF%AB%E7%B1%B3%E7%BD%91%E6%A0%BC.png)
所以我想要的是一个覆盖图形和轴的毫米网格。我还没有尝试任何东西,也不知道从哪里开始,但这是图形本身的代码
\begin{center}
\begin{tikzpicture}
\begin{axis}[
height=0.8\textwidth,
xlabel={f},
ylabel={},
axis lines=left,
xmin=0, xmax=210,
ymin=0, ymax=9000,
xtick={10,20,40,60,80,100,120,140,170,200},
ytick={327.8 , 631.0 , 1775.7 , 2262.7 , 3115 , 3561.4 , 6240 , 8323.3 , 4156.6, 1552.5 , 1180.5 , 951.5},
legend pos=north west,
]
\addplot[
color=black,
mark=*
]
coordinates {
(10,327.8)(20,631.0)(40,1180.5)(60,1775.7)(80,2262.7)(100,3115)(120,3561.4)(140,4156.6)(170,6240)(200,8323.3)
};
\addplot[
color=black,
mark=*
]
coordinates {
(10,8323.3)(20,4156.6)(40,2262.7)(60,1552.5)(80,1180.5)(100,951.5)(120,796.5)(140,684.4)(170,558.1)(200,480.1)
};
\addplot[
color=red,
mark=*,
dashed
]
coordinates {
(56.5,1680)(56.5,0)
};
\end{axis}
\end{tikzpicture}
\end{center}