isis/src/qisis/objs/PlotWindow/PlotWindow.cpp
void PlotWindow::updateVisibility(PlotCurve *curve) {
    if (m_showHideAllCurves) {
      if (m_showHideAllCurves->text() == "Hide All Curves") {
        curve->show();
      }
      else {
        curve->hide();
      }

      if (m_showHideAllMarkers->text() == "Hide All Symbols") {
        curve->setMarkerVisible(true);
      }
      else {
        curve->setMarkerVisible(false);
      }
    }

    emit plotChanged();
  }
/**
   * This method sets the visibility states in the curve (and it's symbols) to
   *   match with this window's current visibility settings. Every means of
   *   adding a curve to the window needs to call this with the curve that is
   *   being added, otherwise visibility states will not be consistent.
   *
   * @param curve Curve (with symbols) to set the visibility states on
   */
This method sets the visibility states in the curve (and it's symbols) to
match with this window's current visibility settings. Every means of
adding a curve to the window needs to call this with the curve that is
being added, otherwise visibility states will not be consistent.

@param curve Curve (with symbols) to set the visibility states on
This method sets the visibility states in the curve ( and it ' s symbols ) to match with this window ' s current visibility settings . Every means of adding a curve to the window needs to call this with the curve that is being added otherwise visibility states will not be consistent . @param curve Curve ( with symbols ) to set the visibility states on
void PlotWindow::updateVisibility(PlotCurve *curve) {
    if (m_showHideAllCurves) {
      if (m_showHideAllCurves->text() == "Hide All Curves") {
        curve->show();
      }
      else {
        curve->hide();
      }
      if (m_showHideAllMarkers->text() == "Hide All Symbols") {
        curve->setMarkerVisible(true);
      }
      else {
        curve->setMarkerVisible(false);
      }
    }
    emit plotChanged();
  }
void PlotWindow :: updateVisibility ( PlotCurve * curve ) { if ( m_showHideAllCurves ) { if ( m_showHideAllCurves -> text ( ) == " " ) { curve -> show ( ) ; } else { curve -> hide ( ) ; } if ( m_showHideAllMarkers -> text ( ) == " " ) { curve -> setMarkerVisible ( true ) ; } else { curve -> setMarkerVisible ( false ) ; } } emit plotChanged ( ) ; }
This method sets the visibility states in the curve (and it's symbols) to
   match with this window's current visibility settings.
This method sets the visibility states in the curve ( and it ' s symbols ) to match with this window ' s current visibility settings .