         .attr("text-anchor", "middle")
         .text("")
         .attr("id", "botRtitle")
+
+  onedig = d3.format(".1f")
 
   # dots at markers
   dotsAtMarkers = (chr) ->

    else
      chrColor[i] = darkGray


  # background rectangles for each chromosome, alternate color
  chrRect = topsvg.append("g").selectAll("empty")

  for i in data.chr
    currentMax = d3.max(data.lod[i].lod)
    maxLod = currentMax if maxLod < currentMax

  # maximum effect + SE and minimum effect - SE
  effMax = null
  effMin = null
  for mar of data.effects
    for g of data.effects[mar].Means
      for sex of data.effects[mar].Means[g]
        me = data.effects[mar].Means[g][sex]
        se = data.effects[mar].SEs[g][sex]
        if me isnt null
          top = me + se
          bot = me - se
          effMax = top if effMax is null or effMax < top
          effMin = bot if effMin is null or effMin > bot

  # start and end of each chromosome
  chrStart = {}
