|
From: thatartskid <sk...@wo...> - 2009-02-23 15:01:11
|
Hello all, I am having serious trouble to make GNUplot load simple tab-spaced files (exported from Excel MAC though) Here is the faulty dat file : http://www.nabble.com/file/p22161584/ITD%2BWN.dat ITD+WN.dat And here is the program to run it : http://www.nabble.com/file/p22161584/ITD%2BWN.plt ITD+WN.plt basically i just want to do >> load "ITD WN.plt" but i get a silly error : "Can't calculate splines, need at least 3 points" Thanks a lot for your help! Nicolas -- View this message in context: http://www.nabble.com/Gnuplot-does-not-like-my-text-files%21%21-tp22161584p22161584.html Sent from the Gnuplot - User mailing list archive at Nabble.com. |
|
From: markjoe <na...@ma...> - 2009-02-23 15:53:23
|
Hi, You don't have any decent newlines in your file (only ^M, apparently that's not enough, at least in my linux version of gnuplot). A simple change from \n to \r did the trick. Try to export it differently . Also beware of +'s and spaces in file names. Or stick to your Mac, there \n will probably work as it is the default eol character. Mark On Mon, Feb 23, 2009 at 3:01 PM, thatartskid <sk...@wo...> wrote: > > Hello all, > > I am having serious trouble to make GNUplot load simple tab-spaced files > (exported from Excel MAC though) > > Here is the faulty dat file : > http://www.nabble.com/file/p22161584/ITD%2BWN.dat ITD+WN.dat > > And here is the program to run it : > http://www.nabble.com/file/p22161584/ITD%2BWN.plt ITD+WN.plt > > basically i just want to do > >>> load "ITD WN.plt" > > but i get a silly error : "Can't calculate splines, need at least 3 points" > > Thanks a lot for your help! > > Nicolas > > -- > View this message in context: http://www.nabble.com/Gnuplot-does-not-like-my-text-files%21%21-tp22161584p22161584.html > Sent from the Gnuplot - User mailing list archive at Nabble.com. > > > ------------------------------------------------------------------------------ > Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA > -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise > -Strategies to boost innovation and cut costs with open source participation > -Receive a $600 discount off the registration fee with the source code: SFAD > http://p.sf.net/sfu/XcvMzF8H > _______________________________________________ > Gnuplot-info mailing list > Gnu...@li... > https://lists.sourceforge.net/lists/listinfo/gnuplot-info > |
|
From: Julien D. <Jul...@da...> - 2009-02-23 18:09:36
|
Hi everyone,
I am always annoyed by this error message. But this time it really
seems to me that everything is defined!
if some one has an idea, that would save me!
thanks a lot,
Julien
gnuplot> set pm3d map
gnuplot> splot 'average.50.7.dat'
warning: Skipping unreadable file "average.50.7.dat"
warning: Axis range undefined due to improper data values.
NaN? Inf?
^
All points x value undefined
and here is the file average.50.7.dat:
0.500000 -7.000000 49
0.750000 -7.000000 0
1.000000 -7.000000 0
1.250000 -7.000000 194
1.500000 -7.000000 173
1.750000 -7.000000 0
2.000000 -7.000000 0
2.250000 -7.000000 0
2.500000 -7.000000 0
0.500000 -6.000000 27
0.750000 -6.000000 85
1.000000 -6.000000 0
1.250000 -6.000000 194
1.500000 -6.000000 169
1.750000 -6.000000 0
2.000000 -6.000000 0
2.250000 -6.000000 0
2.500000 -6.000000 0
0.500000 -5.000000 11
0.750000 -5.000000 27
1.000000 -5.000000 54
1.250000 -5.000000 97
1.500000 -5.000000 124
1.750000 -5.000000 0
2.000000 -5.000000 0
2.250000 -5.000000 0
2.500000 -5.000000 0
|
|
From: Franco B. <fra...@gm...> - 2009-02-23 19:42:25
|
On Mon, Feb 23, 2009 at 6:51 PM, Julien Derr <Jul...@da...> wrote: > Hi everyone, > I am always annoyed by this error message. But this time it really > seems to me that everything is defined! > if some one has an idea, that would save me! > thanks a lot, check the permissions of the file, the contents are right for me. -- Franco Bagnoli <fra...@un...> <fra...@gm...> Lab. Fisica dei Sistemi Complessi, Dip. Energetica & CSDC Universita' di Firenze, via S. Marta, 3 I-50139 Firenze, Italy. Tel. +39 0554796592, fax: +39 0554796342 |
|
From: Hans-Bernhard B. <HBB...@t-...> - 2009-02-23 23:33:40
|
Julien Derr wrote: > Hi everyone, > I am always annoyed by this error message. But this time it really > seems to me that everything is defined! How can that be, given gnuplot quite clearly informed you of the opposite > warning: Skipping unreadable file "average.50.7.dat" ? What exactly did you expect gnuplot to do with data it couldn't see? |
|
From: Hans-Bernhard B. <HBB...@t-...> - 2009-02-23 23:37:35
|
thatartskid wrote: > I am having serious trouble to make GNUplot load simple tab-spaced files > (exported from Excel MAC though) That's your problem right there. You incorrectly exported those files from the Mac to some other platform. Text files need special treatment to work cross-platforms, to translate between linebreak conventions, if nothing else. How that special treatment is activated depends on the particular export method. If all else fails, you can always use separate tools like 'recode' or 'tr'. |
|
From: thatartskid <sk...@wo...> - 2009-02-24 12:26:30
|
No, I actually have Gnuplot installed on my Mac, and Excel (Mac) was installed on the same machine. The problem is, I have been given a lot of Excel data (made on a mac though), that I want to import in Gnuplot. How do you suggest I export it? I have the choice between : - UTF-16 Unicode - Tab delimited text - Windows formatted text - MS-DOS formatted text - Windows comma separated - MS-DOS comma separated Although none of these seem very mac-ish, do they? Sorry for the silly questions, but I am completely new in the unix world. Hans-Bernhard Bröker-2 wrote: > > > thatartskid wrote: >> I am having serious trouble to make GNUplot load simple tab-spaced files >> (exported from Excel MAC though) > > That's your problem right there. You incorrectly exported those files > from the Mac to some other platform. Text files need special treatment > to work cross-platforms, to translate between linebreak conventions, if > nothing else. How that special treatment is activated depends on the > particular export method. If all else fails, you can always use > separate tools like 'recode' or 'tr'. > > -- View this message in context: http://www.nabble.com/Gnuplot-does-not-like-my-text-files%21%21-tp22161584p22180453.html Sent from the Gnuplot - User mailing list archive at Nabble.com. |
|
From: Hans-Bernhard B. <HBB...@t-...> - 2009-02-24 22:57:11
|
thatartskid wrote: > No, I actually have Gnuplot installed on my Mac, and Excel (Mac) was > installed on the same machine. The problem is, I have been given a lot > of Excel data (made on a mac though), that I want to import in Gnuplot. > How do you suggest I export it? In whatever form your instance of gnuplot expects. What form that is depends on what kind of gnuplot you're running. AFAIK there are both Unix-ish ones and Mac-ish ones, which I suspect differ in their line break conventions. Traditionally there were three major formats: LF only, on Unix CR only, on MacOS (traditional) CR+LF, on Microsoft platforms Now MacOS X is supposed to be more Unix than traditional MacOS, including the line break convention --- I have no idea how they get that to work without running into walls like the one you encountered, every second step. There have to be translation tools hidden somewhere in all that GUI atmosphere. I have the choice between : - UTF-16 > Unicode - Tab delimited text - Windows formatted text - MS-DOS formatted > text - Windows comma separated - MS-DOS comma separated Although none of > these seem very mac-ish, do they? Sorry for the silly questions, but I > am completely new in the unix world. |