org.math.plot.plots
Class HistogramPlot2D
java.lang.Object
org.math.plot.plots.Plot
org.math.plot.plots.HistogramPlot2D
- All Implemented Interfaces:
- Editable, Noteable, Plotable
public class HistogramPlot2D
- extends Plot
Constructor Summary |
HistogramPlot2D(String n,
Color c,
double[][] _XY,
double w)
|
HistogramPlot2D(String n,
Color c,
double[][] _XY,
double[] w)
|
HistogramPlot2D(String n,
Color c,
double[][] _XY,
double[] w,
double _offsetCenter_perWidth,
double _factorWidth)
|
HistogramPlot2D(String n,
Color c,
double[][] _XY,
double w,
double _offsetCenter_perWidth,
double _factorWidth)
|
Methods inherited from class org.math.plot.plots.Plot |
addQuantile, addQuantile, addQuantile, addQuantiles, addQuantiles, edit, editnote, getColor, getName, getVisible, note, plot, plotQuantiles, setColor, setName, setVisible |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
topLeft
double[][] topLeft
topRight
double[][] topRight
bottomLeft
double[][] bottomLeft
bottomRight
double[][] bottomRight
widths
double[] widths
width_constant
double width_constant
offsetCenter_perWidth
double offsetCenter_perWidth
factorWidth
double factorWidth
autowidth
boolean autowidth
fill_shape
boolean fill_shape
XY
double[][] XY
HistogramPlot2D
public HistogramPlot2D(String n,
Color c,
double[][] _XY,
double w)
HistogramPlot2D
public HistogramPlot2D(String n,
Color c,
double[][] _XY,
double[] w)
HistogramPlot2D
public HistogramPlot2D(String n,
Color c,
double[][] _XY,
double w,
double _offsetCenter_perWidth,
double _factorWidth)
HistogramPlot2D
public HistogramPlot2D(String n,
Color c,
double[][] _XY,
double[] w,
double _offsetCenter_perWidth,
double _factorWidth)
build
private void build()
plot
public void plot(AbstractDrawer draw,
Color c)
- Specified by:
plot
in class Plot
setData
public void setData(double[][] d)
- Specified by:
setData
in class Plot
getData
public double[][] getData()
- Specified by:
getData
in class Plot
setDataWidth
public void setDataWidth(double[] w)
setDataWidth
public void setDataWidth(double w)
getDataWidth
public double[] getDataWidth()
setData
public void setData(double[][] d,
double[] w)
setData
public void setData(double[][] d,
double w)
isSelected
public double[] isSelected(int[] screenCoordTest,
AbstractDrawer draw)
- Specified by:
isSelected
in interface Editable
- Specified by:
isSelected
in interface Noteable
- Specified by:
isSelected
in class Plot
main
public static void main(String[] args)