gnuplot is it working on 10.1?
Due to this article http://www.linux.com/article.pl?sid=06/04/11/2112243 about CD freshness I installed gnuplot. But it does not appear to work. Am I doing something wrong, or is it does plain broken?? on101:/usr/share/doc/packages/gnuplot/demo> gnuplot /usr/share/doc/packages/gnuplot/demo/battery.dat gnuplot> 50.000000 0.036990 2.500000 0.007039 ^ "/usr/share/doc/packages/gnuplot/demo/battery.dat", line 4: invalid command The 4th line in the data file is just the 1st datafile: demo> head /usr/share/doc/packages/gnuplot/demo/battery.dat # # $Id: battery.dat,v 1.1.1.1 1998/04/15 19:16:41 lhecking Exp $ # 50.000000 0.036990 2.500000 0.007039 and the --help says: demo> gnuplot --help Usage: gnuplot [OPTION]... [FILE] Looks to me it is broken.... -- Richard Bos Without a home the journey is endless
On Sat, Apr 22, 2006 at 03:04:38PM +0200, Richard Bos wrote:
Due to this article http://www.linux.com/article.pl?sid=06/04/11/2112243 about CD freshness I installed gnuplot. But it does not appear to work. Am I doing something wrong, or is it does plain broken??
You are doing something wrong.
on101:/usr/share/doc/packages/gnuplot/demo> gnuplot /usr/share/doc/packages/gnuplot/demo/battery.dat
gnuplot> 50.000000 0.036990 2.500000 0.007039 ^ "/usr/share/doc/packages/gnuplot/demo/battery.dat", line 4: invalid command
The 4th line in the data file is just the 1st datafile: demo> head /usr/share/doc/packages/gnuplot/demo/battery.dat # # $Id: battery.dat,v 1.1.1.1 1998/04/15 19:16:41 lhecking Exp $ # 50.000000 0.036990 2.500000 0.007039
and the --help says: demo> gnuplot --help Usage: gnuplot [OPTION]... [FILE]
[FILE] is a gnuplot file. Not any random file.
Looks to me it is broken....
Looks wrong to you. Robert -- Robert Schiele Tel.: +49-621-181-2214 Dipl.-Wirtsch.informatiker mailto:rschiele@uni-mannheim.de "Quidquid latine dictum sit, altum sonatur."
Richard Bos wrote:
Due to this article http://www.linux.com/article.pl?sid=06/04/11/2112243 about CD freshness I installed gnuplot. But it does not appear to work. Am I doing something wrong, or is it does plain broken??
on101:/usr/share/doc/packages/gnuplot/demo> gnuplot /usr/share/doc/packages/gnuplot/demo/battery.dat
gnuplot> 50.000000 0.036990 2.500000 0.007039 ^ "/usr/share/doc/packages/gnuplot/demo/battery.dat", line 4: invalid command
The 4th line in the data file is just the 1st datafile: demo> head /usr/share/doc/packages/gnuplot/demo/battery.dat # # $Id: battery.dat,v 1.1.1.1 1998/04/15 19:16:41 lhecking Exp $ # 50.000000 0.036990 2.500000 0.007039
and the --help says: demo> gnuplot --help Usage: gnuplot [OPTION]... [FILE]
Looks to me it is broken....
I have no 10.1, but I use gnuplot all the time on 10.0, and I think it's not broken according to your log. battery.dat is a data file, containing columns of floating point values - it is not a command file with gnuplot commands. However, the FILE in "gnuplot [OPTION]... [FILE]" should be a command file. Conclusion: you've used gnuplot the wrong way. You can try to start gnuplot (without any further options) in the demo directory, then use the following command at the gnuplot prompt: plot 'battery.dat' u 1:2 w l or something like that. This will plot column 2 vs. column 1 (with lines). Gnuplot has a manual as well as internal help (try "help" at the gnuplot prompt). You should read that first before complaining about broken software. Cheers, Th.
participants (3)
-
Richard Bos
-
Robert Schiele
-
Thomas Hertweck