我尝试绘制此函数,但在高 x 区域显然绘制错误。我犯了什么错误?
\usetikzlibrary{spy}
\def\distance{1cm}%
\vspace{\distance}
\def\distance{2cm}%
\hspace{\distance}%
\begin{tikzpicture}[spy using outlines=
{circle, magnification=6, connect spies}]
\begin{loglogaxis}[xlabel=$T$, ymin=1e0,ymax=1e8,
ylabel=$H_{0}$,domain={10^-2:10^8} ]
\addplot[blue,thick,samples=500,domain=10^-2:10^8]{x*(exp(10/x)-1)};
\legend {Body centered cubic}
\end{loglogaxis}
\end{tikzpicture}