Re: Problema con pgfplots e gnuplot

#68779
Up
0
Down
::


Ti ringrazio,
ho fatto quanto mi hai indicato però non funziona ancora.

il codice è il solito:

\documentclass{standalone}
\usepackage{lmodern,pgfplots}

\begin{document}

\begin{tikzpicture}
\begin{axis}
\addplot+[id=parable,domain=-5:5]
gnuplot{4*x**2 – 5} node[pin=180:{$4x^2-5$}]{};
\end{axis}
\end{tikzpicture}

\end{document}

Il messaggio d’errore è il seguente:

! Package pgfplots Error: Sorry, the gnuplot-result file ‘prova-grafici-xxxxx.p
arable.table’ could not be found. Maybe you need to enable the shell-escape fea
ture? For pdflatex, this is ‘>> pdflatex -shell-escape’. You can also invoke ‘>
> gnuplot .gnuplot’ manually on the respective gnuplot file..
See the pgfplots package documentation for explanation.
Type H for immediate help.

Quasi ci rinuncio…
Comunque grazie lo stesso.
Ciao

Go to top