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

[pgfplotstable] create col/set list fails with letters #43

Closed pgf-tikz-bot closed 4 years ago

pgf-tikz-bot commented 12 years ago

Migrated from SourceForge https://sourceforge.net/p/pgfplots/bugs/43/ Author: *anonymous Timestamp: 2012-02-09 17:12:30

I'm using pgfplotstable (pgfplots version 1.5 (git show 1.5-1-gcc2f2d2), pgf version 2.10) to create a column using set list. I want to have a column with letters from a to d (for example). I'm using set list ={a,...,d}. However that does not correspond to what is actually produced. I have a a in the first row and then only question marks. When I save the table to a file, I have the following output: new a \ifcase \pgfutil@tempcnta \or a\or b\or c\or d\or e\or f\or g\or h\or i\or j\or k\or l\or m\or n\or o\or p\or q\or r\or s\or t\or u\or v\or w\or x\or y\or z\else ?\fi \ifcase \pgfutil@tempcnta \or a\or b\or c\or d\or e\or f\or g\or h\or i\or j\or k\or l\or m\or n\or o\or p\or q\or r\or s\or t\or u\or v\or w\or x\or y\or z\else ?\fi

Attached, is a MWE

pgf-tikz-bot commented 12 years ago

Migrated from SourceForge https://sourceforge.net/p/pgfplots/bugs/43/#8f7d Author: nobody Timestamp: 2012-02-09 17:12:33

https://sourceforge.net/p/pgfplots/bugs/_discuss/thread/7f982300/8f7d/attachment/test3.tex A minimal working example showing the problem

pgf-tikz-bot commented 12 years ago

Migrated from SourceForge https://sourceforge.net/p/pgfplots/bugs/43/#ba50 Author: cfeuersaenger Timestamp: 2012-08-27 18:36:00

Thanks for the report! It was a bug in TikZ's \foreach \x in {a,...,d} : it did not fully expand the loop macro \x.

I have fixed it in PGF CVS.

pgf-tikz-bot commented 12 years ago

Migrated from SourceForge https://sourceforge.net/p/pgfplots/bugs/43/#65ae Author: cfeuersaenger Timestamp: 2012-08-27 18:36:00