答案1
您指的是下面这样的情况吗?
% used PGFPlots v1.14
\RequirePackage{luatex85}
\documentclass[border=5pt]{standalone}
\usepackage{pgfplots}
\pgfplotsset{
% increases compilation speed when using LuaLaTeX
compat=1.12,
}
\begin{document}
\begin{tikzpicture}
\begin{axis}[
hide axis,
]
\addplot [
only marks,
domain=0:25,
samples=2001,
mark size=0.75,
] (
{0.75*sin(deg(x)) + x},
{rand}
);
\end{axis}
\end{tikzpicture}
\end{document}