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()
Plotpublic double[] getLowerBound()
PlotgetLowerBound in class Plotpublic double[] getUpperBound()
PlotgetUpperBound in class Plot