summaryrefslogtreecommitdiff
path: root/bookgraph.sh
diff options
context:
space:
mode:
authorNick White <git@njw.name>2019-03-26 18:05:10 +0000
committerNick White <git@njw.name>2019-03-26 18:05:10 +0000
commita3ce33af0b4e7ba9b8463443c3ebf4a7797d160a (patch)
tree3f78cfb7892739023481b86019d26aed2e955bdc /bookgraph.sh
parenta2648f87a504395567c5f0aa24e11cf46cb8baee (diff)
Make book graph scripts more robust to dodgy page filenames, and name bookgraph better
Diffstat (limited to 'bookgraph.sh')
-rw-r--r--bookgraph.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/bookgraph.sh b/bookgraph.sh
index a4b1eff..8926d66 100644
--- a/bookgraph.sh
+++ b/bookgraph.sh
@@ -31,7 +31,7 @@ plot "%s" using 1:2 with lines title "Tesseract",\\
"%s" using 1:2 with lines title "Ocropus",\\
"" using 1:2:(sprintf("%%d", $1)) with labels point pt 2 notitle
quit
-' "$b" "$1/bookgraph.png" "$t" "$1/prob-avgpgconf" >> "$gp"
+' "$b" "$1/${b}_bookgraph.png" "$t" "$1/prob-avgpgconf" >> "$gp"
gnuplot "$gp"
rm -f "$t" "$gp"