`
\pgfplotsset{width=15cm,compat=1.3}
%colormap={violetnew}{color(0cm)=(black); color(4cm)=(white)}
% <-- moves axis labels near ticklabels (respects tick label widths)
\begin{figure}
\centering
\begin{tikzpicture}
\begin{axis}[
height=9cm,
width=9cm,
grid=major,
]
\addplot gnuplot[id=filesuffix]{(-x**5 - 242)};
\addlegendentry{model}
\addplot coordinates {
(-4.77778,2027.60977)
(-3.55556,347.84069)
(-2.33333,22.58953)
(-1.11111,-493.50066)
(0.11111,46.66082)
(1.33333,-205.56286)
(2.55556,-341.40638)
(3.77778,-1169.24780)
(5.00000,-3269.56775)
};
\addlegendentry{estimate}
\end{axis}
\end{tikzpicture}
\caption{A larger example}
\end{figure}`
Errore: pgfplots: Sorry, the gnuplot-result file 'don.filesuffix.table'le>.gnuplot’ manually on the respective gnuplot file.. …lot gnuplot[id=filesuffix]{(-x**5 – 242)};