|
SSJ V. labo. |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectumontreal.iro.lecuyer.charts.XYChart
umontreal.iro.lecuyer.charts.EmpiricalChart
public class EmpiricalChart
EmpiricalChart
This class provides additional tools to create and manage empirical plots. Empirical plots are used to plot empirical distributions. The EmpiricalChart class is the simplest way to produce empirical plots only. Each EmpiricalChart object is linked with an umontreal.iro.lecuyer.chartsEmpiricalSeriesCollection data set.
Constructor Summary | |
---|---|
EmpiricalChart()
. |
|
EmpiricalChart(String title,
String XLabel,
String YLabel,
double[]... data)
. |
|
EmpiricalChart(String title,
String XLabel,
String YLabel,
double[] data,
int numPoints)
. |
|
EmpiricalChart(String title,
String XLabel,
String YLabel,
DoubleArrayList... data)
. |
|
EmpiricalChart(String title,
String XLabel,
String YLabel,
TallyStore... tallies)
. |
|
EmpiricalChart(String title,
String XLabel,
String YLabel,
XYSeriesCollection data)
. |
Method Summary | |
---|---|
EmpiricalSeriesCollection |
getSeriesCollection()
. |
void |
setSeriesCollection(EmpiricalSeriesCollection dataset)
. |
void |
setTicksSynchro(int s)
. |
String |
toLatex(double width,
double height)
Exports the chart to a LATEX source code using PGF/TikZ. |
JFrame |
view(int width,
int height)
. |
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 EmpiricalChart()
public EmpiricalChart(String title, String XLabel, String YLabel, double[]... data)
public EmpiricalChart(String title, String XLabel, String YLabel, double[] data, int numPoints)
public EmpiricalChart(String title, String XLabel, String YLabel, DoubleArrayList... data)
public EmpiricalChart(String title, String XLabel, String YLabel, TallyStore... tallies)
public EmpiricalChart(String title, String XLabel, String YLabel, XYSeriesCollection data)
Method Detail |
---|
public EmpiricalSeriesCollection getSeriesCollection()
public void setSeriesCollection(EmpiricalSeriesCollection dataset)
public void setTicksSynchro(int s)
setTicksSynchro
in class XYChart
s
- series.public JFrame view(int width, int height)
view
in class XYChart
public String toLatex(double width, double height)
XYChart
toLatex
in class XYChart
width
- Chart's width in centimeters.height
- Chart's height in centimeters.
|
SSJ V. labo. |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |