# File test/test_net.rb, line 114 def test_many_nets_graph_small g = Gruff::Net.new(400) g.title = "Many Values Net Test 400px" g.labels = { 0 => '5/6', 10 => '5/15', 20 => '5/24', 30 => '5/30', 40 => '6/4', 50 => '6/16' } %w{jimmy jane philip arthur julie bert}.each do |student_name| g.data(student_name, (0..50).collect { |i| rand 100 }) end # Default theme g.write("test/output/net_many_nets_small.png") end