diff --git a/README.pod b/README.pod index 2e88eda..e955072 100644 --- a/README.pod +++ b/README.pod @@ -27,9 +27,7 @@ Simple plotting of piped data: --title "Test plot" \ --y2 1 \ --unset key \ - --unset grid \ - --terminal 'dumb 80,40' \ - --exit + --unset grid =for html
@@ -50,9 +48,7 @@ network interface in bytes/second. This plot updates at 1Hz, and shows the last
--ylabel 'Bytes/sec' \
--xlabel seconds \
--unset key \
- --unset grid \
- --terminal 'dumb 80,40' \
- --exit
+ --unset grid
=for html
diff --git a/bin/feedgnuplot b/bin/feedgnuplot
index 0876759..1b81382 100755
--- a/bin/feedgnuplot
+++ b/bin/feedgnuplot
@@ -1421,14 +1421,13 @@ Simple plotting of piped data:
$ seq 5 | awk '{print 2*$1, $1*$1}' |
feedgnuplot \
+ --terminal 'dumb 80,40' --exit \
--lines \
--points \
--title "Test plot" \
--y2 1 \
--unset key \
- --unset grid \
- --terminal 'dumb 80,40' \
- --exit
+ --unset grid
Test plot
10 +-----------------------------------------------------------------+ 25
@@ -1478,6 +1477,7 @@ network interface in bytes/second. This plot updates at 1Hz, and shows the last
done \
| gawk '/wlan0/ {if(b) {print $2-b; N++; fflush()} b=$2} N==15 {exit}' \
| feedgnuplot \
+ --terminal 'dumb 80,40' --exit \
--lines \
--title "wlan0 throughput" \
--stream \
@@ -1485,9 +1485,7 @@ network interface in bytes/second. This plot updates at 1Hz, and shows the last
--ylabel 'Bytes/sec' \
--xlabel seconds \
--unset key \
- --unset grid \
- --terminal 'dumb 80,40' \
- --exit
+ --unset grid
wlan0 throughput
300000 +---------------------------------------------------------------+
diff --git a/extract_README.sh b/extract_README.sh
index 641b8df..cfa9f36 100755
--- a/extract_README.sh
+++ b/extract_README.sh
@@ -33,5 +33,5 @@ seq 5 | awk '{print 2*$1, $1*$1}' |
next; \
} \
/=head1/,0 \
- { print }' >> README.pod
+ { if(!/^ *--terminal .dumb 80,40. --exit/) { print } }' >> README.pod