I'm using gnuplot 4.4.0 on OS X 10.6.2 and am trying to plot the file
ecut.txt which looks like
#Ecut Length Atomisation Energy
10 0.805312626 0.165625435
15 0.794875914 0.171276982
20 0.782939689 0.173722651
25 0.775818652 0.174689776
30 0.772 0.175219486
35 0.772614854 0.175525673
40 0.772084357 0.175793694
45 0.771989336 0.176002384
50 0.771522545 0.176162818
with the command (e.g)
plot 'ecut.txt' using 1:2
and get the response
warning: Skipping unreadable file "ecut.txt"
No data in plot
What am I doing wrong?
Cheers.
i simply copy pasted the data you provided and found no problems at
all ... perhaps u should provide the exact file you r trying to
plot ... r u using gnuplot for the first time or has this happened
before ?
> plot 'ecut.txt' using 1:2
> and get the response
> warning: Skipping unreadable file "ecut.txt"
> No data in plot
>
> What am I doing wrong?
The error message is really quite clear, isn't it? Gnuplot could not
read the file. Likely as not, that's because whatever program created
the file doesn't allow other programs to open it (yet), or you're simply
running gnuplot from a directory other than the one that file is in.
Hi!
Or - in addition to what Hans-Bernhard Bröker wrote: You might simply
have forgotten the ".txt" at the end of the file name... I am also
working on OS X - and whenever that error appears, I have - by some
misclicking in the editor's save-dialog - overridden the file extension
- and OS X won't save it, if You don't ask it to do... I would check
for that, it is most probably the case... (if You haven't already...).
Best,
Björn