git.shiar.nl
/
barcat.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
coloured bar markers
[barcat.git]
/
graph
diff --git
a/graph
b/graph
index 4bc6627588fe6d5a05022a6fdbc1f124ac82be87..83a3a880adaeab4cde199de30081bdb5a92e5125 100755
(executable)
--- a/
graph
+++ b/
graph
@@
-16,6
+16,7
@@
my $size = ($width - $lenval - $len) / $order[0]; # bar multiplication
sub orderpos { ($order[$_[0]] + $order[$_[0] + .5]) / 2 * $size }
my @barmark;
$barmark[ orderpos($#order / 2) ] = '+'; # mean
+defined and $_ = "\e[36m$_\e[0m" for @barmark;
for my $nr (0 .. $#lines) {
my $val = $values[$nr];