           .datum(data.lod[j].pos)
           .attr("d", lodcurve(j))
           .attr("class", "thickline")
-          .attr("stroke", "blue")
+          .attr("stroke", blue)
           .style("pointer-events", "none")
 
   # detailed LOD curves below

               .attr("x", xpos[j])
               .attr("y", (top[j]+bottom[j])/2)
               .attr("transform", "rotate(270,#{xpos[j]},#{(top[j]+bottom[j])/2})")
               .attr("fill", "blue")

  # title on top panel
  topsvg.append("text")
     .text(data.phenotype)
     .attr("x", (left[0] + right[0])/2)
     .attr("y", pad.top/2)
     .attr("fill", "blue")

  # x-axis labels
  xlab = ["Chromosome", "Position (cM)"]

# lod_and_effect.coffee
#
# Interactive lod curve and QTL effect plot
#
# Click on chromosome in top panel for detailed view below
