smile.plot
Class Point
- java.lang.Object
-
- smile.plot.Shape
-
- smile.plot.Point
-
public class Point extends Shape
A single point in the plot.
-
-
Constructor Summary
Constructors Constructor and Description Point(char legend, java.awt.Color color, double... point)Constructor.Point(char legend, double... point)Constructor.Point(java.awt.Color color, double... point)Constructor.Point(double... point)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description chargetLegend()Returns the legend of point.voidpaint(Graphics g)Draw the component with given graphics object.PointsetLegend(char legend)Set the legend of point.
-
-
-
Constructor Detail
-
Point
public Point(double... point)
Constructor.
-
Point
public Point(char legend, double... point)Constructor.
-
Point
public Point(java.awt.Color color, double... point)Constructor.
-
Point
public Point(char legend, java.awt.Color color, double... point)Constructor.
-
-
Method Detail
-
getLegend
public char getLegend()
Returns the legend of point.
-
setLegend
public Point setLegend(char legend)
Set the legend of point.
-
-
DataMelt 3.0 © DataMelt by jWork.ORG