In pgfplots, if you want error bars, you have to write error bars/.cd into each addplot that should have error bars. What does it mean and what does it do and why do I need it?
Tell me more
×
TeX - LaTeX Stack Exchange is a question and answer site for
users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.
|
|
|
cd means change directory. This command will prefix all successive keys by the key "error bars/" automatically Edit: Why do you need it? I do not have the time to check the code, but I suppose that drawing an error bar needs to do something a little different than drawing a normal plot. So it probably needs to redefine some keys or functions. For example:
will use the key But
will use the key |
||||
|
|
