Hi Roland, thanks for your request.
What you can to is to load your table and to transpose it afterwards. The manual for pgfplotstable explains how to manipulate tables.
Attached is a minimal example which illustrates how to use it which will hopefully address your issue.
Kind regards Christian Am 18.01.2014 16:27, schrieb Roland Rehmet:
Hello Christian, first I would like to say WOW to your package! I copied some data from an Excel spreadsheet to a table. All data are in one line: 36465 38288 40203 42213 44324 46540 48867 51310 53876 56569 59398 62368 65486 Now I would like to print the data as y with x expr=\coordindex. So I figured out so far that it could be done with table [header=false,x expr=\coordindex,y index=0,row sep=space] Since row sep=space does not work (and may be useful?!?) I do not have an idea to get it done. Well, I could press enter behind every number, but that would stop my attempt to get it done automatically. What can I do instead? (And I worked through your huge manual.) Thank you! Kind regards Roland
\documentclass[a4paper]{article} \usepackage{pgfplots} \usepackage{pgfplotstable} \begin{document} \pgfplotstableread[header=false]{% 36465 38288 40203 42213 44324 46540 48867 51310 53876 56569 59398 62368 65486 } {\loadedtable}% % \pgfplotstabletranspose {\transposed} {\loadedtable}% % \pgfplotstabletypeset{\transposed} \begin{tikzpicture} \begin{axis} \addplot table[x expr=\coordindex,y index=0] \transposed; \end{axis} \end{tikzpicture} \end{document}
P.pdf
Description: Adobe PDF document
------------------------------------------------------------------------------ CenturyLink Cloud: The Leader in Enterprise Cloud Services. Learn Why More Businesses Are Choosing CenturyLink Cloud For Critical Workloads, Development Environments & Everything In Between. Get a Quote or Start a Free Trial Today. http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
_______________________________________________ Pgfplots-features mailing list Pgfplots-features@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/pgfplots-features