Skip to content

Commit b4a9c35

Browse files
author
Martin Gütlein
committed
small line witdh adjustments
1 parent 49bffd4 commit b4a9c35

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/svg_roc_plot.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ def self.plot(svg_path, title, x_lable, y_lable, names, x_values, y_values, fain
112112

113113
output_plt_arr.push "set xrange [0:100]"
114114
output_plt_arr.push "set yrange [0:100]"
115-
output_plt_arr.push "set grid"
115+
output_plt_arr.push "set grid lw 0.5"
116116
output_plt_arr.push "set title \"#{title}\""
117117
output_plt_arr.push "set key invert reverse Left outside"
118118
output_plt_arr.push "set xlabel \"#{x_lable}\""
@@ -128,7 +128,7 @@ def self.plot(svg_path, title, x_lable, y_lable, names, x_values, y_values, fain
128128
for i in 0..names.length-1
129129

130130
#style = grey[i] ? "lw 1.5 lt 0" : "lw 3"
131-
style = faint!=nil && faint[i] ? "lw 1.5" : "lw 4"
131+
style = faint!=nil && faint[i] ? "lw 2" : "lw 4"
132132

133133
if i == names.length-1
134134
output_plt_arr.push " 'data#{i}.dat' using 2:1 title '#{names[i]}' with lines #{style}"

0 commit comments

Comments
 (0)