             .attr('y1', height)
             .style('stroke-opacity', 1e-6)
             .remove()
-
         
     initAxes: ->
         @xScale = d3.scale.linear() # sim units -> screen units

            .attr("id", "plot")
            .attr("transform", "translate(#{margin.left},#{margin.top})")

        @draw(@x, @y)
        #@circ([200,100])
        #@circ([100,200])


        #guide.attr("x2", @xScale $blab.Figure.xMax*cos(phi))
        #guide.attr("y2", @yScale $blab.Figure.xMax*sin(phi))


    #radialLine: (color) ->
    #    @plot.append('line')
    #        .attr("x1", @xScale 0)
    #        .attr("y1", @yScale 0)
    #        .style("stroke", color)
    #        .style("stroke-width","1")

    pwl: (X, Y)-> # piece-wise linear
        lineData = ({ x: x, y:Y[i] } for x,i in X)
        @plot.append("path")
            .attr("d", @lineFunction(lineData))
