org.math.plot.plots
Class Plot
java.lang.Object
org.math.plot.plots.Plot
- All Implemented Interfaces:
- Editable, Noteable, Plotable
- Direct Known Subclasses:
- BoxPlot2D, BoxPlot3D, GridPlot3D, HistogramPlot2D, HistogramPlot3D, QuantilePlot, ScatterPlot
public abstract class Plot
- extends Object
- implements Plotable, Noteable, Editable
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
name
public String name
color
public Color color
visible
public boolean visible
quantiles
public Vector<QuantilePlot> quantiles
noted
public boolean noted
note_precision
public int note_precision
Plot
public Plot(String n,
Color c)
addQuantile
public void addQuantile(QuantilePlot q)
addQuantile
public void addQuantile(int a,
double[] q)
addQuantile
public void addQuantile(int a,
double q)
addQuantiles
public void addQuantiles(double[][][] q)
addQuantiles
public void addQuantiles(double[][] q)
setData
public abstract void setData(double[][] d)
getData
public abstract double[][] getData()
setVisible
public void setVisible(boolean v)
- Specified by:
setVisible
in interface Plotable
getVisible
public boolean getVisible()
- Specified by:
getVisible
in interface Plotable
setName
public void setName(String n)
getName
public String getName()
getColor
public Color getColor()
- Specified by:
getColor
in interface Plotable
setColor
public void setColor(Color c)
- Specified by:
setColor
in interface Plotable
isSelected
public abstract double[] isSelected(int[] screenCoordTest,
AbstractDrawer draw)
- Specified by:
isSelected
in interface Editable
- Specified by:
isSelected
in interface Noteable
note
public void note(AbstractDrawer draw)
- Specified by:
note
in interface Noteable
plot
public abstract void plot(AbstractDrawer draw,
Color c)
plot
public void plot(AbstractDrawer draw)
- Specified by:
plot
in interface Plotable
plotQuantiles
public void plotQuantiles(AbstractDrawer draw,
Color c)
edit
public void edit(Object src)
- Specified by:
edit
in interface Editable
editnote
public void editnote(AbstractDrawer draw)
- Specified by:
editnote
in interface Editable