README.pod contains graphical images for the website

This commit is contained in:
Dima Kogan
2024-02-19 20:55:29 -08:00
parent 2db7f980b5
commit 2d8344f32d
4 changed files with 399 additions and 47 deletions

View File

@@ -10,5 +10,28 @@ L<"slides"|https://github.com/dkogan/talk-feedgnuplot-vnlog/blob/master/feedgnup
EOF
seq 5 | awk '{print 2*$1, $1*$1}' |
feedgnuplot \
--lines \
--points \
--title "Test plot" \
--y2 1 \
--unset key \
--unset grid \
--hardcopy 'documentation-header-plot.svg'
< bin/feedgnuplot \
awk '/^ *Test plot$/,/^ *1 +1.5 +2 +2.5/ \
{ if(!wrote_plot1) { print "=for html <p><img src=\"documentation-header-plot.svg\">"; \
wrote_plot1 = 1; } \
next; \
} \
/^ *wlan0 throughput$/,/seconds/ \
{ if(!wrote_plot2) { print "=for html <p><img src=\"documentation-header-network-throughput-plot.svg\">"; \
wrote_plot2 = 1; } \
next; \
} \
/=head1/,0 \
{ print }' >> README.pod
< bin/feedgnuplot awk '/=head1/,0' >> README.pod