public void stopPlotting(){
  m_stopPlotting=true;
  try {
    m_plotThread.join(100);
  }
 catch (  Exception e) {
  }
  ;
}

public void stopPlotting ( ) { m_stopPlotting = true ; try { m_plotThread . join ( 100 ) ; } catch ( Exception e ) { } ; }
stop the plotting thread
