Hi,
The function
TGraphErrors(const char *filename, const char *format, Option_t *)
has a limit of 80 characters per line:
char line[80];
while (fgets(line,80,fp)) {
...
I hit this limit by reading a simple table with 7 columns only (3 curves). I suggest this routine is implemented as the corresponding routine in TGraph which uses
std::string line;
while(std::getline(infile,line,'\n')){
...
In my case, several characters at line ends were ignored (namely "e-03"). It resulted in errors which were several orders of magnitude larger.
Regards,
Alexandr
Received on Thu Nov 10 2005 - 13:59:19 MET
This archive was generated by hypermail 2.2.0 : Tue Jan 02 2007 - 14:45:13 MET