shogi-server source
Revisão | 7c643a7ada1bfc2a938fe6bc3541f4cdd1e2aa96 (tree) |
---|---|
Hora | 2014-12-18 19:23:35 |
Autor | Daigo Moriwaki <daigo@debi...> |
Commiter | 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.
@@ -1,3 +1,9 @@ | ||
1 | +2014-12-18 Daigo Moriwaki <daigo at debian dot org> | |
2 | + | |
3 | + * utils/eval_graph.rb: | |
4 | + - Gnuplot 4.6.6 drew evaluation-value lines with a dashed style. | |
5 | + This issue has now been addressed so that solid lines are used. | |
6 | + | |
1 | 7 | 2014-11-24 Daigo Moriwaki <daigo at debian dot org> |
2 | 8 | |
3 | 9 | * Ruby 2.0: |
@@ -224,8 +224,8 @@ def plot(csa_file, title, black, white, a_play_time) | ||
224 | 224 | plot.size "0.9,0.9" |
225 | 225 | plot.key "left" |
226 | 226 | |
227 | - plot.style "line 1 linewidth 5 linetype 0 linecolor rgbcolor \"red\"" | |
228 | - plot.style "line 2 linewidth 4 linetype 0 linecolor rgbcolor \"dark-green\"" | |
227 | + plot.style "line 1 linewidth 5 linetype -1 linecolor rgbcolor \"red\"" | |
228 | + plot.style "line 2 linewidth 4 linetype -1 linecolor rgbcolor \"dark-green\"" | |
229 | 229 | |
230 | 230 | plot.data << Gnuplot::DataSet.new( black.eval_values ) do |ds| |
231 | 231 | ds.with = "lines ls 1" |
@@ -238,8 +238,8 @@ def plot(csa_file, title, black, white, a_play_time) | ||
238 | 238 | end |
239 | 239 | |
240 | 240 | if a_play_time > 0 |
241 | - plot.style "line 5 linewidth 1 linetype 0 linecolor rgbcolor \"red\"" | |
242 | - plot.style "line 6 linewidth 1 linetype 0 linecolor rgbcolor \"green\"" | |
241 | + plot.style "line 5 linewidth 1 linetype -1 linecolor rgbcolor \"red\"" | |
242 | + plot.style "line 6 linewidth 1 linetype -1 linecolor rgbcolor \"green\"" | |
243 | 243 | plot.style "fill solid 0.25 noborder" |
244 | 244 | |
245 | 245 | plot.data << Gnuplot::DataSet.new( black.time_values(3000, a_play_time) ) do |ds| |