Closed alexpovel closed 2 years ago
This can happen if you use pgfplotstable
for plotting from tabular data, be it inline or from an outside file.
If you use matlab2tikz
, you might also run into the above error, since it potentially uses inline tables.
The culprit is this line:
This is a global default for all tables, assuming that they are comma-separated.
The default is whitespace, which matlab2tikz
uses, hence it breaks.
You can override the column separator either in the above global option, or manually for each plot:
% See https://tex.stackexchange.com/a/251245/120853
\addplot3[surf] table [col sep=comma] {dat.csv};
Original issue (2021-10-18): https://collaborating.tuhh.de/alex/latex-cookbook/-/issues/9
A user ran into this error:
It is similar to this error. How can this be fixed?