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/
198 stars 34 forks source link

[pgfplotstable][manual] document `\pgfplotstablegetcolumnnamebyindex' #170

Closed pgf-tikz-bot closed 4 years ago

pgf-tikz-bot commented 7 years ago

Migrated from SourceForge https://sourceforge.net/p/pgfplots/bugs/170/ Author: mo-gul Timestamp: 2017-05-18 17:29:59.434000

It would be nice, if the command \pgfplotstablegetcolumnnamebyindex could be documented.

This could be done in section 5.5 near the entry \pgfplotstablegetelem.

pgf-tikz-bot commented 7 years ago

Migrated from SourceForge https://sourceforge.net/p/pgfplots/bugs/170/#60d7 Author: cfeuersaenger Timestamp: 2017-06-03 22:08:19.778000

I see that a complete table API has its uses. However, \pgfplotstablegetcolumnnamebyindex alone does not help much since it resembles a column vector -- and you still need a public API to access its members.

Thus, documenting it as "public API" would necessarily need to document its variants "getcolumnbyname" and the associated routines to work with the column vectors. Even if I did it, it still sounds crude and perhaps I can replace the implementation eventually (because they are not really vectors -- they are lists with all performance penalties).

I would rather keep them part of the internal documentation. Perhaps we can come up with a rich public API eventually. That would, indeed, be a major improvement for power users.

Closing ticket.

pgf-tikz-bot commented 7 years ago

Migrated from SourceForge https://sourceforge.net/p/pgfplots/bugs/170/#4feb Author: cfeuersaenger Timestamp: 2017-06-03 22:08:34.532000

pgf-tikz-bot commented 7 years ago

Migrated from SourceForge https://sourceforge.net/p/pgfplots/bugs/170/#8a18 Author: cfeuersaenger Timestamp: 2017-06-04 13:57:58.392000

pgf-tikz-bot commented 7 years ago

Migrated from SourceForge https://sourceforge.net/p/pgfplots/bugs/170/#d03e Author: cfeuersaenger Timestamp: 2017-06-04 13:57:58.625000

reopening: sorry: I did not read the request properly ... I read "getcolumnbyindex" instead of "getcolumnnamebyindex". I will document the method.

pgf-tikz-bot commented 7 years ago

Migrated from SourceForge https://sourceforge.net/p/pgfplots/bugs/170/#fb73 Author: cfeuersaenger Timestamp: 2017-06-05 08:49:16.573000

pgf-tikz-bot commented 7 years ago

Migrated from SourceForge https://sourceforge.net/p/pgfplots/bugs/170/#a4b9 Author: cfeuersaenger Timestamp: 2017-06-05 08:49:16.778000

Done.