From: Daigo Moriwaki Date: Thu, 18 Dec 2014 10:23:35 +0000 (+0900) Subject: utils/eval_graph.rb: Gnuplot 4.6.6 drew evaluation-value lines with a dashed style... X-Git-Tag: 20170902~21^2~1 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=7c643a7ada1bfc2a938fe6bc3541f4cdd1e2aa96;hp=3ffaeead65a729c5d6203eaf2a56050c3269402b;p=shogi-server%2Fshogi-server.git utils/eval_graph.rb: Gnuplot 4.6.6 drew evaluation-value lines with a dashed style. This issue has now been addressed so that solid lines are used. --- diff --git a/changelog b/changelog index 5fa7fb7..c28be61 100644 --- a/changelog +++ b/changelog @@ -1,3 +1,9 @@ +2014-12-18 Daigo Moriwaki + + * utils/eval_graph.rb: + - Gnuplot 4.6.6 drew evaluation-value lines with a dashed style. + This issue has now been addressed so that solid lines are used. + 2014-11-24 Daigo Moriwaki * Ruby 2.0: diff --git a/utils/eval_graph.rb b/utils/eval_graph.rb index 64a5ea6..3c373ec 100755 --- a/utils/eval_graph.rb +++ b/utils/eval_graph.rb @@ -224,8 +224,8 @@ def plot(csa_file, title, black, white, a_play_time) plot.size "0.9,0.9" plot.key "left" - plot.style "line 1 linewidth 5 linetype 0 linecolor rgbcolor \"red\"" - plot.style "line 2 linewidth 4 linetype 0 linecolor rgbcolor \"dark-green\"" + plot.style "line 1 linewidth 5 linetype -1 linecolor rgbcolor \"red\"" + plot.style "line 2 linewidth 4 linetype -1 linecolor rgbcolor \"dark-green\"" plot.data << Gnuplot::DataSet.new( black.eval_values ) do |ds| ds.with = "lines ls 1" @@ -238,8 +238,8 @@ def plot(csa_file, title, black, white, a_play_time) end if a_play_time > 0 - plot.style "line 5 linewidth 1 linetype 0 linecolor rgbcolor \"red\"" - plot.style "line 6 linewidth 1 linetype 0 linecolor rgbcolor \"green\"" + plot.style "line 5 linewidth 1 linetype -1 linecolor rgbcolor \"red\"" + plot.style "line 6 linewidth 1 linetype -1 linecolor rgbcolor \"green\"" plot.style "fill solid 0.25 noborder" plot.data << Gnuplot::DataSet.new( black.time_values(3000, a_play_time) ) do |ds|