I'm trying to get a figure in my LaTeX document, but I struggle to set the search-path
I use
\addplot[blue] table {invcum.dat};
from the example, however it keeps saying
! Package pgfplots Error: Could not read table file 'invcum.dat'.
After trying around with various things I looked at the reportings from Process Monitor (Sysinternals) and it shows, that the file is only looked for in the temporary directory.
In LyX I found the TEXINPUT option and it was set to "." I added my working directory to it (where the data file lies) but I keep getting the same behaviour.
I will continue by inserting the data into the documents directly, but I'd really like to see what I missed to get things working.
TEXINPUTSinstead ofTEXINPUT. Maybe it was just a typo? Note thatpgfplotssupports an option calledtable/search pathas of version 1.13 – Christian Feuersänger Apr 17 '16 at 06:46