isis/src/qisis/objs/PlotWindow/PlotWindow.cpp
void PlotWindow::showHideGrid() {
    m_grid->setVisible(!m_grid->isVisible());

    if (m_grid->isVisible()) {
      m_showHideGrid->setText("Hide Grid");
    }
    else {
      m_showHideGrid->setText("Show Grid");
    }
    m_plot->replot();
  }
/**
   * This method hides/shows the grid on the plotWindow and
   * changes the text for the action
   */
This method hides/shows the grid on the plotWindow and
changes the text for the action
This method hides / shows the grid on the plotWindow and changes the text for the action
void PlotWindow::showHideGrid() {
    m_grid->setVisible(!m_grid->isVisible());
    if (m_grid->isVisible()) {
      m_showHideGrid->setText("Hide Grid");
    }
    else {
      m_showHideGrid->setText("Show Grid");
    }
    m_plot->replot();
  }
void PlotWindow :: showHideGrid ( ) { m_grid -> setVisible ( ! m_grid -> isVisible ( ) ) ; if ( m_grid -> isVisible ( ) ) { m_showHideGrid -> setText ( " " ) ; } else { m_showHideGrid -> setText ( " " ) ; } m_plot -> replot ( ) ; }
This method hides/shows the grid on the plotWindow and
 changes the text for the action
This method hides / shows the grid on the plotWindow and changes the text for the action