isis/src/qisis/objs/ScatterPlotTool/ScatterPlotWindow.cpp
bool ScatterPlotWindow::isYCube(MdiCubeViewport *vp) const {
    return (vp && m_yAxisCube &&
            vp->cube() == m_yAxisCube && vp->grayBand() == m_yAxisCubeBand &&
            vp->isGray());
  }
/**
   * Returns true if the viewport's cube is the cube currently being used on the
   *   y-axis.
   *
   * @param vp The viewport to test for a cube match
   * @return True if the vp is showing the y axis cube data
   */
Returns true if the viewport's cube is the cube currently being used on the
y-axis.

@param vp The viewport to test for a cube match
@return True if the vp is showing the y axis cube data
Returns true if the viewport ' s cube is the cube currently being used on the y - axis . @param vp The viewport to test for a cube match @return True if the vp is showing the y axis cube data
bool ScatterPlotWindow::isYCube(MdiCubeViewport *vp) const {
    return (vp && m_yAxisCube &&
            vp->cube() == m_yAxisCube && vp->grayBand() == m_yAxisCubeBand &&
            vp->isGray());
  }
bool ScatterPlotWindow :: isYCube ( MdiCubeViewport * vp ) const { return ( vp && m_yAxisCube && vp -> cube ( ) == m_yAxisCube && vp -> grayBand ( ) == m_yAxisCubeBand && vp -> isGray ( ) ) ; }
Returns true if the viewport's cube is the cube currently being used on the
   y-axis.
Returns true if the viewport ' s cube is the cube currently being used on the y - axis .