public class TextPlot extends Plot
| Modifier and Type | Method and Description |
|---|---|
double[] |
getLowerBound()
Returns the lower bound of data.
|
double[] |
getUpperBound()
Returns the upper bound of data.
|
static TextPlot |
of(java.lang.String[] texts,
double[][] coordinates)
Create a text plot.
|
void |
paint(Graphics g)
Draws the shape.
|
public TextPlot(Label... texts)
public double[] getLowerBound()
PlotgetLowerBound in class Plotpublic double[] getUpperBound()
PlotgetUpperBound in class Plotpublic static TextPlot of(java.lang.String[] texts, double[][] coordinates)
texts - the texts.coordinates - a n-by-2 or n-by-3 matrix that are the coordinates of texts.