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. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
