From: Uwe Z. <uw...@kt...> - 2004-06-01 10:56:11
|
Gnuplot 3.8i and 4.0 both crash while plotting a data file using a format specifier on a data file. The data file has 21 comma separated columns where every third column is a text formated date (which I ignore): #101(Time stamp),101(Seconds),101(C),102(Time stamp),102(Seconds),102(C),103(Time stamp),103(Seconds),103(C),104(Time stamp),104(Seconds),104(C),105(Time stamp),105(Seconds),105(C),106(Time stamp),106(Seconds),106(C),107(Time stamp),107(Seconds),107(C) "2003-09-10 12:14:43.748",0.019,+2.448500E+01,"2003-09-10 12:14:43.968",0.239,+1.652400E+01,"2003-09-10 12:14:44.178",0.449,+1.645500E+01,"2003-09-10 12:14:44.387",0.658,+1.638900E+01,"2003-09-10 12:14:44.597",0.868,+1.633000E+01,"2003-09-10 12:14:44.807",1.078,+1.624000E+01,"2003-09-10 12:14:45.616",1.887,+1.617400E+01 "2003-09-10 12:14:46.733",3.004,+2.448600E+01,"2003-09-10 12:14:46.953",3.224,+1.652200E+01,"2003-09-10 12:14:47.162",3.433,+1.645900E+01,"2003-09-10 12:14:47.372",3.643,+1.639300E+01,"2003-09-10 12:14:47.581",3.852,+1.633100E+01,"2003-09-10 12:14:47.791",4.062,+1.623100E+01,"2003-09-10 12:14:48.601",4.872,+1.618800E+01 "2003-09-10 12:14:49.733",6.004,+2.448700E+01,"2003-09-10 12:14:49.953",6.224,+1.651800E+01,"2003-09-10 12:14:50.162",6.433,+1.645300E+01,"2003-09-10 12:14:50.372",6.643,+1.638700E+01,"2003-09-10 12:14:50.582",6.853,+1.632200E+01,"2003-09-10 12:14:50.791",7.062,+1.623400E+01,"2003-09-10 12:14:51.601",7.872,+1.618400E+01 a minimum sample which still works: ------------------------ reset set nologscale y set xrange [-20:20] set autoscale y plot \ '030910alogg.csv' \ every 1:::0::0 \ using ($1<4700? $1/60.0-60.0:1/0):($2) '"%*[^"]",%lf,%lf,"%*[^"]",%lf,%lf,"%*[^"]",%lf,%lf'\ axes x1y1 \ title 'center temp.' \ with lines linewidth 4 \ ; ------------------------ but adding another column to the format specifier crashes Gnuplot on Win32 (WinXP sp1+updates): ------------------------ reset set nologscale y set xrange [-20:20] set autoscale y plot \ '030910alogg.csv' \ every 1:::0::0 \ using ($1<4700? $1/60.0-60.0:1/0):($2) '"%*[^"]",%lf,%lf,"%*[^"]",%lf,%lf,"%*[^"]",%lf,%lf,"%*[^"]",%lf,%lf'\ axes x1y1 \ title 'center temp.' \ with lines linewidth 4 \ ; ------------------------ ...independently on which pair of columns I select to read. Earlier I was able to plot this same datafile with GnuPlot 3.7x where the column separator could be redefined to be a comma instead of a whitespace... Any ideas? Uwe. |