isis/src/qisis/objs/ScatterPlotTool/ScatterPlotWindow.cpp
void ScatterPlotWindow::showHideContour() {
    if (m_contour->text() == "Show Contour Lines") {
      m_contour->setText("Hide Contour Lines");
      m_spectrogram->setDisplayMode(QwtPlotSpectrogram::ContourMode, true);
      updateContourPen();
    }
    else {
      m_contour->setText("Show Contour Lines");
      m_spectrogram->setDisplayMode(QwtPlotSpectrogram::ContourMode, false);
    }

    replot();
  }
/**
   * This method hides or displays the contour lines on the
   * spectrogram.
   *
   */
This method hides or displays the contour lines on the
spectrogram.
This method hides or displays the contour lines on the spectrogram .
void ScatterPlotWindow::showHideContour() {
    if (m_contour->text() == "Show Contour Lines") {
      m_contour->setText("Hide Contour Lines");
      m_spectrogram->setDisplayMode(QwtPlotSpectrogram::ContourMode, true);
      updateContourPen();
    }
    else {
      m_contour->setText("Show Contour Lines");
      m_spectrogram->setDisplayMode(QwtPlotSpectrogram::ContourMode, false);
    }
    replot();
  }
void ScatterPlotWindow :: showHideContour ( ) { if ( m_contour -> text ( ) == " " ) { m_contour -> setText ( " " ) ; m_spectrogram -> setDisplayMode ( QwtPlotSpectrogram :: ContourMode , true ) ; updateContourPen ( ) ; } else { m_contour -> setText ( " " ) ; m_spectrogram -> setDisplayMode ( QwtPlotSpectrogram :: ContourMode , false ) ; } replot ( ) ; }
This method hides or displays the contour lines on the
 spectrogram.
This method hides or displays the contour lines on the spectrogram .