sigmoidGraph.prototype.updateGraph = function () {

  var obj = this;
  this.width = this.graphWidth - this.margin.left - this.margin.right;
  this.height = this.graphHeight - this.margin.top - this.margin.bottom;