Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

bad data line 1 error claim

2,940 views
Skip to first unread message

r

unread,
Mar 13, 2008, 7:58:06 PM3/13/08
to
Readers,
I have a data file with the following format:

123, -987654321
112, -998765432
113, -999876543

Using gnuplot 42 I enter the following command:

plot '/filename.dat/

result is bad data line 1. There are no comment in the data file just
two columns of data values.

What is happening and how do I resolve.

Thanks,

Ethan Merritt

unread,
Mar 13, 2008, 9:52:55 PM3/13/08
to
In article <2124d681-7826-4403...@s37g2000prg.googlegroups.com>,

r <inp...@gmail.com> wrote:
>Readers,
>I have a data file with the following format:
>
>123, -987654321
>112, -998765432
>113, -999876543
>
>Using gnuplot 42 I enter the following command:
>
>plot '/filename.dat/
>
>What is happening and how do I resolve.

Either get rid of the commas in your data file, or
tell gnuplot
set datafile separator ","

--
Ethan A Merritt

0 new messages