                        title1 = "loglik = #{onedig(d.kll)}"
                        d3.select("text#loglik#{d.chr}0").text(title0)
                        d3.select("text#loglik#{d.chr}1").text(title1)
+                       d3.select("text#mptitle#{d.chr}2").text("m = #{data.m[d.col]}")
+                       d3.select("text#mptitle#{d.chr}3").text("p = #{data.p[d.row]}")
                        panels[d.chr][0].append("rect").attr("id","mouseover0")
                                 .attr("x", xScaleImg[d.chr](data.m[d.col]))
                                 .attr("y", yScaleImg[d.chr](data.p[d.row]))

               .attr("dominant-baseline", "middle")
               .attr("fill", [darkBlue, darkRed][j])

    # scales for loglik vs p/m curves
    xScalemp[i] = []
    xScalemp[i][0] = d3.scale.linear()

                       title1 = "loglik = #{onedig(d.kll)}"
                       d3.select("text#loglik#{d.chr}0").text(title0)
                       d3.select("text#loglik#{d.chr}1").text(title1)
                       d3.select("text#mptitle#{d.chr}2").text("m = #{data.m[d.col]}")
                       d3.select("text#mptitle#{d.chr}3").text("p = #{data.p[d.row]}")
                       panels[d.chr][0].append("rect").attr("id","mouseover0")
                                .attr("x", xScaleImg[d.chr](data.m[d.col]))
                                .attr("y", yScaleImg[d.chr](data.p[d.row]))
