private void attachPlot(SVGPlot newplot){
  this.plot=newplot;
  if (newplot == null) {
    super.setSVGDocument(null);
    return;
  }
  newplot.synchronizeWith(synchronizer);
  super.setSVGDocument(newplot.getDocument());
  super.setDisableInteractions(newplot.getDisableInteractions());
}

private void attachPlot ( SVGPlot newplot ) { this . plot = newplot ; if ( newplot == null ) { super . setSVGDocument ( null ) ; return ; } newplot . synchronizeWith ( synchronizer ) ; super . setSVGDocument ( newplot . getDocument ( ) ) ; super . setDisableInteractions ( newplot . getDisableInteractions ( ) ) ; }
attach to a new plot , and display .
