I am new to pgfplotstable, I am trying to read gnuplot exported table in pgfplotstable.
gnuplot script:
set samples 91
set table "file.dat"
set angles degrees
plot [0:90] sin(x),cos(x),tan(x);
unset table
gnuplot table file.dat is given below (5 points given to be concise):
# Curve 0 of 3, 91 points
# Curve title: "sin(x)"
# x y type
0 0 i
1 0.0174524 i
2 0.0348995 i
3 0.052336 i
4 0.0697565 i
5 0.0871557 i
# Curve 1 of 3, 91 points
# Curve title: "cos(x)"
# x y type
0 1 i
1 0.999848 i
2 0.999391 i
3 0.99863 i
4 0.997564 i
5 0.996195 i
# Curve 2 of 3, 91 points
# Curve title: "tan(x)"
# x y type
0 0 i
1 0.0174551 i
2 0.0349208 i
3 0.0524078 i
4 0.0699268 i
5 0.0874887 i
Note: It's possible to read table header and format (all data arranged in columns) given below compared to the above case (all data arranged sequentially)
# A B C
1 2 3
4 5 7
8 9 10
Question
Is it possible to read custom format ASCII file in pgfplotstable by \pgfplotstableset{} or any other workarounds in gnuplot to make it read well and typeset in pgfplotstable?


data_sets), 991(numb_pnts) points to typeset with five significant digits after decimal ? – texenthusiast Apr 16 '13 at 21:50sci,precision=5]{\mytable}does something – David Carlisle Apr 16 '13 at 22:01