         @element.selectAll("svg").remove()
         @obj = @element.append "svg"
         @initAxes()
-        
+
     append: (obj) -> @obj.append obj
     
     initAxes: ->

            .remove()

    vline: (m)->
        @plot.insert('line')
            .attr('x1', m[0])
            .attr('y1', m[1])
            .attr('x2', m[0])

class Simulation

    constructor: ->
        @sun = new Sun
        #@h = new Histo
        
