public class StaircasePlot extends Plot
Constructor and Description |
---|
StaircasePlot(double[][] data)
Constructor.
|
StaircasePlot(double[][] data,
java.awt.Color color)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
paint(Graphics g)
Draw the component with given graphics object.
|
static PlotCanvas |
plot(double[]... data)
Create a plot canvas with the staircase line plot of given data.
|
static PlotCanvas |
plot(java.lang.String id,
double[]... data)
Create a plot canvas with the staircase line plot of given data.
|
getID, getToolBar, getToolTip, setID
public StaircasePlot(double[][] data)
public StaircasePlot(double[][] data, java.awt.Color color)
public void paint(Graphics g)
Shape
public static PlotCanvas plot(double[]... data)
data
- a n x 2 or n x 3 matrix that describes coordinates of points.public static PlotCanvas plot(java.lang.String id, double[]... data)
id
- the id of the plot.data
- a n x 2 or n x 3 matrix that describes coordinates of points.