public class ScreePlot extends Plot
Constructor and Description |
---|
ScreePlot(smile.projection.PCA pca)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
Canvas |
canvas()
Returns a canvas of the plot.
|
double[] |
getLowerBound()
Returns the lower bound of data.
|
double[] |
getUpperBound()
Returns the upper bound of data.
|
java.util.Optional<Legend[]> |
legends()
Returns the optional name of shape, which will be used to
draw a legend outside the box.
|
void |
paint(Graphics g)
Draws the shape.
|
public ScreePlot(smile.projection.PCA pca)
pca
- principal component analysis object.public java.util.Optional<Legend[]> legends()
Plot
public double[] getLowerBound()
Plot
getLowerBound
in class Plot
public double[] getUpperBound()
Plot
getUpperBound
in class Plot