\documentclass{article} % translate with >> pdflatex -shell-escape % This file is an extract of the PGFPLOTS manual, copyright by Christian Feuersaenger. % % Feel free to use it as long as you cite the pgfplots manual properly. % % See % http://pgfplots.sourceforge.net/pgfplots.pdf % for the complete manual. % % Any required input files (for or or the table package) can be downloaded % at % http://www.ctan.org/tex-archive/graphics/pgf/contrib/pgfplots/doc/latex/ % and % http://www.ctan.org/tex-archive/graphics/pgf/contrib/pgfplots/doc/latex/plotdata/ \usepackage{pgfplots} \usepackage{pgfplotstable} \pgfplotstableset{fixed zerofill,precision=0} \pgfplotsset{compat=newest} \pagestyle{empty} \usepackage{pgfplotstable} \begin{document} \pgfplotstabletypeset{test.dat} \end{document}