ich habe ein Problem mit der Einbindung von gnuplot in pgfplots. Ich würde gerne gnuplot benutzen, um einzelne Spalten zu bearbeiten und dann plotten zu lassen. In gnuplot funktioniert das auf folgende Weise
plot 'data/test.dat' using $1**2:(1/$2)
! Package pgfplots Warning: the current plot has no coordinates (or all have be en filtered away) ! Package pgfplots Warning: You have an axis with empty range. Replacing it with a default range and clearing all plots.
Gruß und vielen Dank,
Felix
\documentclass{scrartcl} \usepackage{tikz} \usepackage{pgfplots} \pgfplotsset{compat=1.3} \begin{document} \begin{figure} \centering \begin{tikzpicture} \begin{axis} \addplot gnuplot [raw gnuplot,id=test] { plot 'data/test.dat' using $1**2:(1/$2); }; \end{axis} \end{tikzpicture} \end{figure} \end{document}