mirror of
https://github.com/dkogan/feedgnuplot.git
synced 2025-12-20 18:01:11 +08:00
README.pod contains graphical images for the website
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user