Hi,
I have .dat file in which data are stored in two columns. When I tried to plot this using the command:
plot "waveform.dat" using 1:2 with lines
The plot window popped up but without the actual data plot, and in the main window there were following warnings:
Warning: empty x range [0:0], adjusting to [-1:1]
Warning: empty y range [0.139361:0.139361], adjusting to [0.137967:0.140754]
The actual ranges of x and y are [0:1] and [0.139:0.319]. I did look this up in Google, but it seems that in most cases the warnings were due to the numerical values in the data range being too small (in the order of e-10 etc.), and was fixed by redefining the value of zero in gnuplot. Clearly that is not the case here.
I use GNUPLOT Version 4.2 Patch level 5 on MacOS X Version 10.6.1.
Thanks.
The data file used.
Your data file is corrupt. It contains only 1 line of data, with embedded carriage-returns. A standard unix file would have linefeeds instead of carriage-return. A Windows file would have both <LF> and <CR>.