parameters: (self)
return_statement: return axisTitle
docstring: for this variable info, construct the name to put on the axis of an XY\n    plot, e.g. with magnitude or component information
docstring_summary: for this variable info, construct the name to put on the axis of an XY\n    plot, e.g. with magnitude or component information
docstring_tokens: for this variable info construct the name to put on the axis of an XY \ n plot e . g . with magnitude or component information
function: def GetXYPlotAxisTitle(self):
      "for this variable info, construct the name to put on the axis of an XY\n    plot, e.g. with magnitude or component information"
  
      if self.mVariableName[-1] == '_':
        axisTitle = str(self.mVariableName[0:-1])
      else:
        axisTitle = self.mVariableName
  
      if self.mVariableIsVectorComponent:
        if self.mVariableComponent == 0:
          axisTitle += ' X component'
        elif self.mVariableComponent == 1:
          axisTitle += ' Y component'
        elif self.mVariableComponent == 2:
          axisTitle += ' Z component'
        else:
          if PhactoriDbg():
            myDebugPrint3("  variable component is not 0, 1, or 2, using 0 (X)\n")
          localVariableName = self.mVariableName + '_X'
      elif self.mVariableIsVectorMagnitude:
        axisTitle += " Magnitude"
  
      return axisTitle
function_tokens: def GetXYPlotAxisTitle ( self ) : if self . mVariableName [ - 1 ] == '_' : axisTitle = str ( self . mVariableName [ 0 : - 1 ] ) else : axisTitle = self . mVariableName if self . mVariableIsVectorComponent : if self . mVariableComponent == 0 : axisTitle += ' X component' elif self . mVariableComponent == 1 : axisTitle += ' Y component' elif self . mVariableComponent == 2 : axisTitle += ' Z component' else : if PhactoriDbg ( ) : myDebugPrint3 ( "  variable component is not 0, 1, or 2, using 0 (X)\n" ) localVariableName = self . mVariableName + '_X' elif self . mVariableIsVectorMagnitude : axisTitle += " Magnitude" return axisTitle