Register FAQ / Rules Forum Spy Search Today's Posts Mark Forums Read
Go Back   MacRumors Forums > Apple Systems and Services > Programming > Mac Programming

Reply
 
Thread Tools Search this Thread Display Modes
Old Jan 16, 2010, 02:41 AM   #1
ellie:)
macrumors newbie
 
Join Date: Jan 2010
Gnuplot - bad data on line 1

Hi there,
I am having a problem with Gnuplot.
when I try to plot the graph, I got this error " bad data on line 1"

here are the first few rows of my data:
1 0.0193608
2 0.089262
3 0.0302174
4 0
5 0
6 0
7 0
8 0
9 0
10 0
11 -0.0302174
12 -0.0892561
13 -0.0192659
14 0.109624
15 0.0466765
16 -0.0663904
17 -0.0152822
18 0.0355062
19 0.0137621
20 0
21 0

I tried plotting another data file which I just plotted one week ago, and I got this error again..

Thanks in advance~
ellie:) is offline   0 Reply With Quote
Old Jan 16, 2010, 05:50 AM   #2
MrFusion
macrumors 6502a
 
Join Date: Jun 2005
Location: West-Europe
Quote:
Originally Posted by ellie:) View Post
Hi there,
I am having a problem with Gnuplot.
when I try to plot the graph, I got this error " bad data on line 1"

here are the first few rows of my data:

I tried plotting another data file which I just plotted one week ago, and I got this error again..

Thanks in advance~
Posting the original file and the command that you are using is much more useful that posting some data. There is nothing magic about a bunch of numbers. However, the difference between line endings (\n or \r or \r\n) and the delimiters (;,:\t) can make the difference between getting a nice plot or a bunch of errors.

And are you sure you are using the same command as last week?
__________________
24" iMac, 13" MacBook, iPod Touch. iPod mini and PowerPC Mac Mini gathering dust somewhere.
MrFusion is offline   0 Reply With Quote

Reply
MacRumors Forums > Apple Systems and Services > Programming > Mac Programming

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
thread Thread Starter Forum Replies Last Post
Be careful opening a new line with Verizon (bad exp) Cryozeal iPhone 36 Dec 31, 2013 11:44 AM
Bad feeling in the pit of my stomach - Mac Pro line may end at WWDC? Lil Chillbil Mac Pro 90 Jun 11, 2013 08:53 AM
ATT - Add Line/Data famerdave iPhone 0 Sep 13, 2012 03:50 PM
Cross upgrade on iPad data line? blue2007 iPhone 8 Sep 11, 2012 12:26 AM
bad rants about new MBP line Badrottie MacBook Pro 17 Jun 12, 2012 04:12 AM

Forum Jump

All times are GMT -5. The time now is 09:36 PM.

Mac Rumors | Mac | iPhone | iPhone Game Reviews | iPhone Apps

Mobile Version | Fixed | Fluid | Fluid HD
Copyright 2002-2013, MacRumors.com, LLC