       x = x / rangex
       y = y / scaley
       {x: x, y: y}
+    console.log(@props.formula)
+    console.log(data)
     data
 
   renderXLabel: ->

  # We want to know because it informs how we scale the
  # graph axis
  isExponential: ->
    @props.formula.indexOf("^") > -1 or @props.formula.indexOf("sqrt")  > -1

  invertPoint: (point) ->
    {x: point.x, y: @props.height - point.y}


  getPathPoints: ->
    rangex = 20
    x0 = if @isExponential() then 1 else 0
    data = _.range(x0,rangex)
    miny = Infinity
    maxy = -Infinity
    data = _.map data, (x) =>
