website documentation doesn't say it's making ascii art

because that documentation shows a graphical image
This commit is contained in:
Dima Kogan 2024-02-19 21:38:00 -08:00
parent 6340dd3582
commit d57634bcf9
3 changed files with 7 additions and 13 deletions

View File

@ -27,9 +27,7 @@ Simple plotting of piped data:
--title "Test plot" \ --title "Test plot" \
--y2 1 \ --y2 1 \
--unset key \ --unset key \
--unset grid \ --unset grid
--terminal 'dumb 80,40' \
--exit
=for html <p><img src="documentation-header-plot.svg"> =for html <p><img src="documentation-header-plot.svg">
@ -50,9 +48,7 @@ network interface in bytes/second. This plot updates at 1Hz, and shows the last
--ylabel 'Bytes/sec' \ --ylabel 'Bytes/sec' \
--xlabel seconds \ --xlabel seconds \
--unset key \ --unset key \
--unset grid \ --unset grid
--terminal 'dumb 80,40' \
--exit
=for html <p><img src="documentation-header-network-throughput-plot.svg"> =for html <p><img src="documentation-header-network-throughput-plot.svg">

View File

@ -1421,14 +1421,13 @@ Simple plotting of piped data:
$ seq 5 | awk '{print 2*$1, $1*$1}' | $ seq 5 | awk '{print 2*$1, $1*$1}' |
feedgnuplot \ feedgnuplot \
--terminal 'dumb 80,40' --exit \
--lines \ --lines \
--points \ --points \
--title "Test plot" \ --title "Test plot" \
--y2 1 \ --y2 1 \
--unset key \ --unset key \
--unset grid \ --unset grid
--terminal 'dumb 80,40' \
--exit
Test plot Test plot
10 +-----------------------------------------------------------------+ 25 10 +-----------------------------------------------------------------+ 25
@ -1478,6 +1477,7 @@ network interface in bytes/second. This plot updates at 1Hz, and shows the last
done \ done \
| gawk '/wlan0/ {if(b) {print $2-b; N++; fflush()} b=$2} N==15 {exit}' \ | gawk '/wlan0/ {if(b) {print $2-b; N++; fflush()} b=$2} N==15 {exit}' \
| feedgnuplot \ | feedgnuplot \
--terminal 'dumb 80,40' --exit \
--lines \ --lines \
--title "wlan0 throughput" \ --title "wlan0 throughput" \
--stream \ --stream \
@ -1485,9 +1485,7 @@ network interface in bytes/second. This plot updates at 1Hz, and shows the last
--ylabel 'Bytes/sec' \ --ylabel 'Bytes/sec' \
--xlabel seconds \ --xlabel seconds \
--unset key \ --unset key \
--unset grid \ --unset grid
--terminal 'dumb 80,40' \
--exit
wlan0 throughput wlan0 throughput
300000 +---------------------------------------------------------------+ 300000 +---------------------------------------------------------------+

View File

@ -33,5 +33,5 @@ seq 5 | awk '{print 2*$1, $1*$1}' |
next; \ next; \
} \ } \
/=head1/,0 \ /=head1/,0 \
{ print }' >> README.pod { if(!/^ *--terminal .dumb 80,40. --exit/) { print } }' >> README.pod