80 characters per line limit in TGraphErrors

From: Alexandr Malusek <Alexandr.Malusek_at_imv.liu.se>
Date: Thu, 10 Nov 2005 13:59:10 +0100


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;

In my case, several characters at line ends were ignored (namely "e-03"). It resulted in errors which were several orders of magnitude larger.

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