Class Staircase
java.lang.Object
smile.plot.swing.Shape
smile.plot.swing.Staircase
This class represents a poly line in the plot.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
Staircase
Constructor.- Parameters:
points- an n-by-2 or n-by-3 matrix that are the coordinates of points.color- the color of points.
-
-
Method Details
-
paint
-
of
Creates a Staircase with solid stroke and black color.- Parameters:
points- the points.- Returns:
- the plot.
-