Class XYSeriesData

    • Constructor Summary

      Constructors 
      Constructor Description
      XYSeriesData​()
      Constructor
      XYSeriesData​(java.lang.String key)
      Constructor
      XYSeriesData​(java.lang.String key, double[] xdata, double[] ydata)
      Constructor
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int dataLength​()
      Get data length
      java.lang.String getKey​()
      Get series key
      double getMissingValue​()
      Get missing value
      java.util.List<java.lang.Integer> getMissingValueIndex​()
      Get missing value index list
      double getX​(int idx)
      Get x value
      double getX_max​(int idx)
      Get x + error value
      double getX_min​(int idx)
      Get x - error value
      double[] getXdata​()
      Get X data
      double getY​(int idx)
      Get y value
      double getY_max​(int idx)
      Get y + error value
      double getY_min​(int idx)
      Get y - error value
      double[] getYdata​()
      Get Y data
      void setKey​(java.lang.String value)
      Set series key
      void setMissingValue​(double value)
      Set missing value
      void setXdata​(double[] value)
      Set X data
      void setXdata​(java.util.List<java.lang.Number> value)
      Set X data
      void setXdata​(ucar.ma2.Array value)
      Set X data
      void setYdata​(double[] value)
      Set Y data
      void setYdata​(java.util.List<java.lang.Number> value)
      Set Y data
      void setYdata​(ucar.ma2.Array value)
      Set Y data
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • XYSeriesData

        public XYSeriesData​()
        Constructor
      • XYSeriesData

        public XYSeriesData​(java.lang.String key)
        Constructor
        Parameters:
        key - Key
      • XYSeriesData

        public XYSeriesData​(java.lang.String key,
                            double[] xdata,
                            double[] ydata)
        Constructor
        Parameters:
        key - Series key
        xdata - X data
        ydata - Y data
    • Method Detail

      • getKey

        public java.lang.String getKey​()
        Get series key
        Returns:
        Series key
      • setKey

        public void setKey​(java.lang.String value)
        Set series key
        Parameters:
        value - Series key
      • getXdata

        public double[] getXdata​()
        Get X data
        Returns:
        X data
      • setXdata

        public void setXdata​(double[] value)
        Set X data
        Parameters:
        value - X data
      • setXdata

        public void setXdata​(java.util.List<java.lang.Number> value)
        Set X data
        Parameters:
        value - X data
      • setXdata

        public void setXdata​(ucar.ma2.Array value)
        Set X data
        Parameters:
        value - X data
      • getYdata

        public double[] getYdata​()
        Get Y data
        Returns:
        Y data
      • setYdata

        public void setYdata​(double[] value)
        Set Y data
        Parameters:
        value - Y data
      • setYdata

        public void setYdata​(java.util.List<java.lang.Number> value)
        Set Y data
        Parameters:
        value - Y data
      • setYdata

        public void setYdata​(ucar.ma2.Array value)
        Set Y data
        Parameters:
        value - Y data
      • getMissingValue

        public double getMissingValue​()
        Get missing value
        Returns:
        Missing value
      • setMissingValue

        public void setMissingValue​(double value)
        Set missing value
        Parameters:
        value - Missing value
      • dataLength

        public int dataLength​()
        Get data length
        Returns:
        Data length
      • getX

        public double getX​(int idx)
        Get x value
        Parameters:
        idx - Index
        Returns:
        X value
      • getX_min

        public double getX_min​(int idx)
        Get x - error value
        Parameters:
        idx - Index
        Returns:
        X - error value
      • getX_max

        public double getX_max​(int idx)
        Get x + error value
        Parameters:
        idx - Index
        Returns:
        X + error value
      • getY

        public double getY​(int idx)
        Get y value
        Parameters:
        idx - Index
        Returns:
        Y value
      • getY_min

        public double getY_min​(int idx)
        Get y - error value
        Parameters:
        idx - Index
        Returns:
        Y - error value
      • getY_max

        public double getY_max​(int idx)
        Get y + error value
        Parameters:
        idx - Index
        Returns:
        Y + error value
      • getMissingValueIndex

        public java.util.List<java.lang.Integer> getMissingValueIndex​()
        Get missing value index list
        Returns:
        Missing value index list