Hi!

I'm trying to implement certain pgfplots options into my own LaTeX package to shortcut writing papers. I am, however, running into problems when trying to set table/x error index key using \pgfplotsset. Here's an extract of the code:

\pgfplotsset{%

compat=1.13,

error bars/x dir=both,

error bars/x explicit,

error bars/y dir=both,

error bars/y explicit,

table/col sep=comma,

table/x index=0,

table/x error index=1,% this causes problems

table/y index=2,

table/y error index=3% and this as well}


The package works perfectly fine without the lines setting error column indices. However, when I try to run in a .tex file

\begin{tikzpicture}

\begin{axis}

\addplot table {data.csv};

\end{axis}

\end{tikzpicture}

it results in an error message "! Package pgfkeys Error: I do not know the key '/pgfplots/x error plus index', to which you passed '1', and I'm going to ignore it. Perhaps you misspelled it."

What is happening here? It seems to change the key given inside \pgfplotsset. Trying the complete key /pgfplots/table/x error index does not change the output.

Any help with this problem is highly appreciated. Thanks in advance!

Regards, Ville


------------------------------------------------------------------------------
_______________________________________________
Pgfplots-features mailing list
Pgfplots-features@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pgfplots-features

Reply via email to