Samples: less harsh blue on graph paper lines

This commit is contained in:
Andy Meneely
2015-12-21 10:46:05 -05:00
parent b560643332
commit 38266eb4c1
+3 -3
View File
@@ -8,8 +8,8 @@ module Squib
# Draw graph paper for samples # Draw graph paper for samples
def draw_graph_paper(width, height) def draw_graph_paper(width, height)
background color: 'white' background color: 'white'
grid width: 50, height: 50, stroke_color: '#0066FF', stroke_width: 1.5 grid width: 50, height: 50, stroke_color: '#659ae9', stroke_width: 1.5
grid width: 200, height: 200, stroke_color: '#0066FF', stroke_width: 3, x: 50, y: 50 grid width: 200, height: 200, stroke_color: '#659ae9', stroke_width: 3, x: 50, y: 50
(50..height).step(200) do |y| (50..height).step(200) do |y|
text str: "y=#{y}", x: 3, y: y - 18, font: 'Open Sans, Sans 10' text str: "y=#{y}", x: 3, y: y - 18, font: 'Open Sans, Sans 10'
end end
@@ -31,4 +31,4 @@ module Squib
end end
end end