public static int GetMaxArgumentLocation(this IndependentVariableAxis axis)
        {
            switch (axis)
            {
            case IndependentVariableAxis.Rho:
                return(0);

            case IndependentVariableAxis.Time:
                return(2);

            case IndependentVariableAxis.Fx:
                return(0);

            case IndependentVariableAxis.Ft:
                return(2);

            case IndependentVariableAxis.Z:
                return(1);

            case IndependentVariableAxis.Wavelength:
                return(2);

            default:
                throw new NotImplementedException(StringLookup.GetLocalizedString("Exception_IndependentAxis") + axis +
                                                  StringLookup.GetLocalizedString("Exception_CustomNotImplemented"));
            }
        }
        public static bool IsTemporalAxis(this IndependentVariableAxis axis)
        {
            switch (axis)
            {
            case IndependentVariableAxis.Time:
            case IndependentVariableAxis.Ft:
                return(true);

            case IndependentVariableAxis.Rho:
            case IndependentVariableAxis.Fx:
            case IndependentVariableAxis.Z:
            case IndependentVariableAxis.Wavelength:
                return(false);

            default:
                throw new NotImplementedException(StringLookup.GetLocalizedString("Exception_IndependentAxis") + axis +
                                                  StringLookup.GetLocalizedString("Exception_CustomNotImplemented"));
            }
        }