projects
/
MojoFacets.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
930f852
)
replace _ with space in gnuplot title
author
Dobrica Pavlinusic
<dpavlin@rot13.org>
Sun, 11 Jun 2023 10:32:23 +0000
(12:32 +0200)
committer
Dobrica Pavlinusic
<dpavlin@rot13.org>
Sun, 11 Jun 2023 10:32:23 +0000
(12:32 +0200)
lib/MojoFacets/Gnuplot.pm
patch
|
blob
|
history
diff --git
a/lib/MojoFacets/Gnuplot.pm
b/lib/MojoFacets/Gnuplot.pm
index
1af3cc1
..
ae8d5f3
100644
(file)
--- a/
lib/MojoFacets/Gnuplot.pm
+++ b/
lib/MojoFacets/Gnuplot.pm
@@
-41,6
+41,7
@@
sub index {
my @plot;
foreach ( 1 .. $#$columns ) {
my $title = $columns->[$_];
+ $title =~ s/_/ /g;
my $n = $_ + 1 + $spaces;
push @plot, qq|"$dir/$url" using 1:$n title "$title" with $with| unless $hide_columns->{ $title };
}