Closed kjshen closed 2 years ago
Related? #402
I don't fully understand the workaround there and if it applies to this case
In my understanding, the workaround is for standalone plots in a different directory and not for reading .dat file.
The given example (of course with another data file and other paths) works perfectly fine for me. Which version of TikZ and PGFPlots are you using?
Hi,
the example code I gave in my post was not correctly reflecting the path on my machine.
I've now found that the path I was using contained empty spaces, so adding double quotes "
resolved my issue.
This works fine:
\pgfplotsset{
table/search path={C:/Users/"path with spaces"/data/}
}
\addplot+ table {dataset1/test_data.dat};
So just wrong end user application here. Thanks for looking into it!
Hello,
I've successfully used the
table/search path
option to specify a relative path to my table data, for example:However, I was unable to use an absolute path such as
to plot data from a different directory.
Is there any mistake with my path specification or is the option only meant for relativ paths?