PyFoam.Basics.GnuplotFile module¶
Analyze a file with GNUPLOT-Data
-
class
PyFoam.Basics.GnuplotFile.
GnuplotFile
(fname)[source]¶ Bases:
object
-
analyze
()[source]¶ Find out how many columns there are and what their names are
There are two cases:
1. the first line is not a comment. In this case the column names are ‘time’ and ‘value0x’ depending on how many values are in the first line
2. the first line is a comment line (it starts with a #). In this case the rest of the line is analyzed and used as names
-