Class Data2D

    • Method Detail

      • addSample

        public void addSample​(double x,
                              double y)
      • getColor

        public Color getColor()
      • getTitle

        public String getTitle()
      • getType

        public String getType()
        type denotes how the data should be displayed on a plot. The string is interpreted as a sequence of symbols to be plotted: p - periods (dots) c - circles d - diamonds r - rectangles t - triangles (vertex pointing up) u - triangles (vertex pointing down) v - triangles (vertex pointing left) w - triangles (vertex pointing right) l - solid line k - dashed line m - dotted line n - dash-dot line a - filled polygon area between graph line and x-axis b(w) - filled bars of width w
        Returns:
        The type
      • setColor

        public void setColor​(Color newcolor)
      • setTitle

        public void setTitle​(String newtitle)
      • setType

        public void setType​(String newtype)
      • setLogX

        public void setLogX​(boolean logx)
      • setLogY

        public void setLogY​(boolean logy)
      • getXMinDifference

        public double getXMinDifference()
      • getNearestSampleAt

        public Point2D.Double getNearestSampleAt​(double x)
      • isEmpty

        public boolean isEmpty()