我想改变 tikz 使用的离散化以获得更平滑的图形。
\documentclass[article]{standalone}
\usepackage{tikz}
\usepackage{pgfplots}
\pgfplotsset{compat = newest} % loads newest improved settings
\begin{document}
\begin{tikzpicture}
\begin{axis}[scale only axis, xlabel = x, xmin = 0, xmax = 4, ylabel = y, ymax = 40, ymin = 0, ytick pos=left]
\addplot [black, domain=0:3.5] {25*x^0.2};
\end{axis}
\end{tikzpicture}
\end{document}