|
SSJ V. 2.6. |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object umontreal.iro.lecuyer.charts.XYChart umontreal.iro.lecuyer.charts.XYLineChart umontreal.iro.lecuyer.charts.PPPlot
public class PPPlot
This class implements PP-plot (or probability-probability plot) objects that compare two probability distributions. The data is given as a list of x-coordinates (x1, x2,…, xn), and one is given a reference continuous probability distribution F(x). One first sorts the xi in ascending order, then noted x(i), and plots the points (i/n, F(x(i))), i = 1, 2,…, n, to see if the data xi comes from the reference distribution F(x). The graph of the straight line y = x is also plotted for comparison.
Constructor Summary | |
---|---|
PPPlot(String title,
String XLabel,
String YLabel,
ContinuousDistribution dist,
double[] X)
Initializes a new PPPlot instance using the points X. |
|
PPPlot(String title,
String XLabel,
String YLabel,
ContinuousDistribution dist,
double[][] data,
int r)
Initializes a new PPPlot instance. |
|
PPPlot(String title,
String XLabel,
String YLabel,
ContinuousDistribution dist,
double[] X,
int numPoints)
Similar to the constructor PPPlot
(title, XLabel, YLabel, dist, X)
above, except that only the first numPoints of X
are plotted. |
Method Summary |
---|
Methods inherited from class umontreal.iro.lecuyer.charts.XYLineChart |
---|
add, add, add, add, add, getSeriesCollection, setSeriesCollection, setTicksSynchro, toLatex, view, viewBar |
Methods inherited from class umontreal.iro.lecuyer.charts.XYChart |
---|
disableGrid, drawVerticalLine, enableGrid, getChartMargin, getJFreeChart, getTitle, getXAxis, getYAxis, setAutoRange, setAutoRange, setAutoRange00, setChartMargin, setLatexDocFlag, setManualRange, setManualRange, setManualRange00, setprobFlag, setTitle, toLatexFile |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PPPlot(String title, String XLabel, String YLabel, ContinuousDistribution dist, double[] X)
title
- chart title.XLabel
- Label on x-axis.YLabel
- Label on y-axis.dist
- Reference distributionX
- points.public PPPlot(String title, String XLabel, String YLabel, ContinuousDistribution dist, double[] X, int numPoints)
PPPlot
(title, XLabel, YLabel, dist, X)
above, except that only the first numPoints of X
are plotted.
title
- chart title.XLabel
- Label on x-axis.YLabel
- Label on y-axis.dist
- Reference distributionX
- point set.numPoints
- number of points to plotpublic PPPlot(String title, String XLabel, String YLabel, ContinuousDistribution dist, double[][] data, int r)
title
- chart title.XLabel
- Label on x-axis.YLabel
- Label on y-axis.dist
- Reference distributiondata
- series of point sets.r
- set of points to plot
|
SSJ V. 2.6. |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |