                .text(xlab[j])
                .attr("x", (left[j] + right[j])/2)
                .attr("y", bottom[j] + pad.bottom*0.65)
-               .attr("fill", "blue")
+               .attr("fill", blue)
 
   # lod curves by chr
   lodcurve = (j) ->

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

  # detailed LOD curves below

         .attr("cy", (d) -> yScale[2](d))
         .attr("r", 6)
         .attr("fill", (d,i) ->
            return blue if male[i]
            red)
         .attr("stroke", "black")
         .attr("stroke-width", "2")
         .on("mouseover", efftip)
