From: Dobrica Pavlinusic Date: Sun, 11 Jun 2023 10:32:23 +0000 (+0200) Subject: replace _ with space in gnuplot title X-Git-Url: http://git.rot13.org/?a=commitdiff_plain;ds=sidebyside;h=1c60f5ece3154af997ee1353f14d39b21d818229;p=MojoFacets.git replace _ with space in gnuplot title --- diff --git a/lib/MojoFacets/Gnuplot.pm b/lib/MojoFacets/Gnuplot.pm index 1af3cc1..ae8d5f3 100644 --- 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 }; }