Can't open Test plot: No such file or directory
jmahler opened this issue · 1 comments
jmahler commented
The first example in the README produces a syntax error.
Can't open Test plot: No such file or directory at /usr/bin/feedGnuplot line 405.
gnuplot> plot
^
line 0: function to plot expected
If the equals sign is removed it works fine.
index b2c224f..89e4280 100644
--- a/README.pod
+++ b/README.pod
@@ -14,7 +14,7 @@ Simple plotting of stored data:
10 25
$ seq 5 | awk '{print 2*$1, $1*$1}' |
- feedGnuplot --lines --points --legend 0="data 0" --title "Test plot" --y2 1
+ feedGnuplot --lines --points --legend 0 "data 0" --title "Test plot" --y2 1
Simple real-time plotting example: plot how much data is received on the wlan0
network interface in bytes/second (uses bash, awk and Linux):
dkogan commented
Thanks for finding this. A few months ago I updated the --legend syntax, but missed that bit of documentation. Fixed.