Class Point
java.lang.Object
smile.plot.swing.Shape
smile.plot.swing.Point
One more points in the plot.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
MARKS
public static char[] MARKSThe marks of point.
-
-
Constructor Details
-
Point
Constructor.- Parameters:
points- an n-by-2 or n-by-3 matrix that are the coordinates of points.mark- the mark of points.- . : dot
- + : +
- - : -
- | : |
- * : star
- x : x
- o : circle
- O : large circle
- @ : solid circle
- # : large solid circle
- s : square
- S : large square
- q : solid square
- Q : large solid square
- others : dot
color- the color of points.
-
-
Method Details
-
paint
-
of
Creates a Point with circle mark and black color.- Parameters:
points- the points.- Returns:
- the point shape.
-
of
-
of
Creates a Point with black color.- Parameters:
points- the points.mark- the point mark.- Returns:
- the point shape.
-