public class Histogram3D extends Plot
| Constructor and Description |
|---|
Histogram3D(double[][] data)
Constructor.
|
Histogram3D(double[][] data,
boolean prob)
Constructor.
|
Histogram3D(double[][] data,
boolean prob,
java.awt.Color[] palette)
Constructor.
|
Histogram3D(double[][] data,
java.awt.Color[] palette)
Constructor.
|
Histogram3D(double[][] data,
int nbins)
Constructor.
|
Histogram3D(double[][] data,
int nbins,
boolean prob)
Constructor.
|
Histogram3D(double[][] data,
int nbins,
boolean prob,
java.awt.Color[] palette)
Constructor.
|
Histogram3D(double[][] data,
int nbins,
java.awt.Color[] palette)
Constructor.
|
Histogram3D(double[][] data,
int xbins,
int ybins)
Constructor.
|
Histogram3D(double[][] data,
int xbins,
int ybins,
boolean prob)
Constructor.
|
Histogram3D(double[][] data,
int xbins,
int ybins,
boolean prob,
java.awt.Color[] palette)
Constructor.
|
Histogram3D(double[][] data,
int xbins,
int ybins,
java.awt.Color[] palette)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
double[][] |
getHistogram()
Get the frequencies/probabilities table.
|
void |
paint(Graphics g)
Draw the component with given graphics object.
|
static PlotCanvas |
plot(double[][] data)
Create a plot canvas with the histogram plot.
|
static PlotCanvas |
plot(double[][] data,
java.awt.Color[] palette)
Create a plot canvas with the histogram plot.
|
static PlotCanvas |
plot(double[][] data,
int k)
Create a plot canvas with the histogram plot of given data.
|
static PlotCanvas |
plot(double[][] data,
int k,
boolean prob,
java.awt.Color[] palette)
Create a plot canvas with the histogram plot of given data.
|
static PlotCanvas |
plot(double[][] data,
int k,
java.awt.Color[] palette)
Create a plot canvas with the histogram plot of given data.
|
static PlotCanvas |
plot(double[][] data,
int xbins,
int ybins)
Create a plot canvas with the histogram plot of given data.
|
static PlotCanvas |
plot(double[][] data,
int xbins,
int ybins,
boolean prob,
java.awt.Color[] palette)
Create a plot canvas with the histogram plot of given data.
|
static PlotCanvas |
plot(double[][] data,
int xbins,
int ybins,
java.awt.Color[] palette)
Create a plot canvas with the histogram plot of given data.
|
getID, getToolBar, getToolTip, setIDpublic Histogram3D(double[][] data)
data - a sample set.public Histogram3D(double[][] data,
java.awt.Color[] palette)
data - a sample set.palette - the color palette.public Histogram3D(double[][] data,
boolean prob)
data - a sample set.prob - if true, the z-axis will be in the probability scale.
Otherwise, z-axis will be in the frequency scale.public Histogram3D(double[][] data,
boolean prob,
java.awt.Color[] palette)
data - a sample set.prob - if true, the z-axis will be in the probability scale.
Otherwise, z-axis will be in the frequency scale.palette - the color palette.public Histogram3D(double[][] data,
int nbins)
data - a sample set.nbins - the number of bins.public Histogram3D(double[][] data,
int nbins,
java.awt.Color[] palette)
data - a sample set.nbins - the number of bins.palette - the color palette.public Histogram3D(double[][] data,
int nbins,
boolean prob)
data - a sample set.nbins - the number of bins.prob - if true, the z-axis will be in the probability scale.
Otherwise, z-axis will be in the frequency scale.public Histogram3D(double[][] data,
int nbins,
boolean prob,
java.awt.Color[] palette)
data - a sample set.nbins - the number of bins.prob - if true, the z-axis will be in the probability scale.
Otherwise, z-axis will be in the frequency scale.palette - the color palette.public Histogram3D(double[][] data,
int xbins,
int ybins)
data - a sample set.xbins - the number of bins on x-axis.ybins - the number of bins on y-axis.public Histogram3D(double[][] data,
int xbins,
int ybins,
java.awt.Color[] palette)
data - a sample set.xbins - the number of bins on x-axis.ybins - the number of bins on y-axis.palette - the color palette.public Histogram3D(double[][] data,
int xbins,
int ybins,
boolean prob)
data - a sample set.xbins - the number of bins on x-axis.ybins - the number of bins on y-axis.prob - if true, the z-axis will be in the probability scale.
Otherwise, z-axis will be in the frequency scale.public Histogram3D(double[][] data,
int xbins,
int ybins,
boolean prob,
java.awt.Color[] palette)
data - a sample set.xbins - the number of bins on x-axis.ybins - the number of bins on y-axis.prob - if true, the z-axis will be in the probability scale.
Otherwise, z-axis will be in the frequency scale.palette - the color palette.public void paint(Graphics g)
Shapepublic double[][] getHistogram()
public static PlotCanvas plot(double[][] data)
data - a sample set.public static PlotCanvas plot(double[][] data, java.awt.Color[] palette)
data - a sample set.palette - the color palette.public static PlotCanvas plot(double[][] data, int k)
data - a sample set.k - the number of bins.public static PlotCanvas plot(double[][] data, int k, java.awt.Color[] palette)
data - a sample set.k - the number of bins.palette - the color palette.public static PlotCanvas plot(double[][] data, int k, boolean prob, java.awt.Color[] palette)
data - a sample set.k - the number of bins.prob - if true, the z-axis will be in the probability scale.palette - the color palette.public static PlotCanvas plot(double[][] data, int xbins, int ybins, boolean prob, java.awt.Color[] palette)
data - a sample set.xbins - the number of bins on x-axis.ybins - the number of bins on y-axis.prob - if true, the z-axis will be in the probability scale.palette - the color palette.public static PlotCanvas plot(double[][] data, int xbins, int ybins)
data - a sample set.xbins - the number of bins on x-axis.ybins - the number of bins on y-axis.public static PlotCanvas plot(double[][] data, int xbins, int ybins, java.awt.Color[] palette)
data - a sample set.xbins - the number of bins on x-axis.ybins - the number of bins on y-axis.palette - the color palette.