Class SequencePlotPoint

    • Field Detail

      • m_ErrorX

        protected Double[] m_ErrorX
        the X errors.
      • m_ErrorY

        protected Double[] m_ErrorY
        the Y errors.
    • Constructor Detail

      • SequencePlotPoint

        public SequencePlotPoint()
        Initializes the point.
      • SequencePlotPoint

        public SequencePlotPoint​(double x,
                                 double y)
        Initializes the point.
        Parameters:
        x - the X value
        y - the Y value
      • SequencePlotPoint

        public SequencePlotPoint​(String id,
                                 double x,
                                 double y)
        Initializes the point.
        Parameters:
        id - the ID, use null to ignore
        x - the X value
        y - the Y value
      • SequencePlotPoint

        public SequencePlotPoint​(String id,
                                 double x,
                                 double y,
                                 Double[] errorX,
                                 Double[] errorY)
        Initializes the point.
        Parameters:
        id - the ID, use null to ignore
        x - the X value
        y - the Y value
        errorX - the error for X (either delta or min/max)
        errorY - the error for Y (either delta or min/max)
    • Method Detail

      • assign

        public void assign​(DataPoint other)
        Obtains the stored variables from the other data point.
        Specified by:
        assign in interface DataPoint
        Overrides:
        assign in class XYSequencePoint
        Parameters:
        other - the data point to get the values from
      • getMinX

        public double getMinX()
        Returns the minimum for X.
        Overrides:
        getMinX in class XYSequencePoint
        Returns:
        the minimum
      • getMaxX

        public double getMaxX()
        Returns the maximum for X.
        Overrides:
        getMaxX in class XYSequencePoint
        Returns:
        the maximum
      • hasErrorX

        public boolean hasErrorX()
        Checks whether error information for X is available.
        Returns:
        true if available
      • getErrorX

        public Double[] getErrorX()
        Returns the error information for X.
        Returns:
        the error information, null if not available
      • getMinY

        public double getMinY()
        Returns the minimum for Y.
        Overrides:
        getMinY in class XYSequencePoint
        Returns:
        the minimum
      • getMaxY

        public double getMaxY()
        Returns the maximum for Y.
        Overrides:
        getMaxY in class XYSequencePoint
        Returns:
        the maximum
      • hasErrorY

        public boolean hasErrorY()
        Checks whether error information for Y is available.
        Returns:
        true if available
      • getErrorY

        public Double[] getErrorY()
        Returns the error information for Y.
        Returns:
        the error information, null if not available