pgf-tikz / pgfplots

pgfplots - A TeX package to draw normal and/or logarithmic plots directly in TeX in two and three dimensions with a user-friendly interface and pgfplotstable - a TeX package to round and format numerical tables. Examples in manuals and/or on web site.
http://pgfplots.sourceforge.net/
200 stars 35 forks source link

"copy column from table" doesn't work with "y error" #47

Closed pgf-tikz-bot closed 4 years ago

pgf-tikz-bot commented 12 years ago

Migrated from SourceForge https://sourceforge.net/p/pgfplots/bugs/47/ Author: juernjakob Timestamp: 2012-04-25 07:59:36

When trying to use a different datafile as the source for error bars using "create on use/errors/.style={ create col/copy column from table={error.dat}{Errors} }" while plotting data from a datafile, pgfplots fails with the message "! Undefined control sequence. \pgfplotstableread@loop@processnextline ...stener \fi \fi \pgfplotstableread... l.36 ] table [y error=errors] {data.dat};".

It works fine if the datafile containing the plot data has been read into a macro using \pgfplotstableread first.

Using "copy column from table" on the fly works fine for reading "meta" (or "x" or "y) data.

See attached example file.

pgf-tikz-bot commented 12 years ago

Migrated from SourceForge https://sourceforge.net/p/pgfplots/bugs/47/#95a1 Author: juernjakob Timestamp: 2012-04-25 07:59:40

https://sourceforge.net/p/pgfplots/bugs/_discuss/thread/f17fd40e/95a1/attachment/texse.tex Minimal example demonstrating the error

pgf-tikz-bot commented 12 years ago

Migrated from SourceForge https://sourceforge.net/p/pgfplots/bugs/47/#04cb Author: ludewich Timestamp: 2012-05-06 07:22:09

pgf-tikz-bot commented 12 years ago

Migrated from SourceForge https://sourceforge.net/p/pgfplots/bugs/47/#72ac Author: ludewich Timestamp: 2012-05-06 07:22:09

Fixed: pgfplots did not properly check for the 'read completely' flag in this case.

Work-around: provide 'read completely' as option.