|
SSJ V. 2.6.2. |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object umontreal.iro.lecuyer.charts.SSJXYSeriesCollection
public abstract class SSJXYSeriesCollection
Stores data used in a XYChart. This class provides tools to manage data sets and rendering options, and modify plot color, plot style, and marks on points for each series.
Constructor Summary | |
---|---|
SSJXYSeriesCollection()
|
Method Summary | |
---|---|
Color |
getColor(int series)
Gets the current plotting color of the selected series. |
double[] |
getDomainBounds()
Returns domain (x-coordinates) min and max values. |
double[] |
getRangeBounds()
Returns range (y-coordinates) min and max values. |
XYItemRenderer |
getRenderer()
Returns the XYItemRenderer object associated with the current object. |
XYDataset |
getSeriesCollection()
Returns the XYDataset object associated with the current object. |
double |
getX(int series,
int index)
Returns the x-value at the specified index in the specified series. |
double |
getY(int series,
int index)
Returns the y-value at the specified index in the specified series. |
void |
setColor(int series,
Color color)
Sets a new plotting color to the series series. |
void |
setRenderer(XYItemRenderer renderer)
Sets the XYItemRenderer object associated with the current variable. |
abstract String |
toLatex(double XScale,
double YScale,
double XShift,
double YShift,
double xmin,
double xmax,
double ymin,
double ymax)
Formats and returns a string containing a LATEX-compatible source code which represents this data series collection. |
String |
toString()
Returns in a String all data contained in the current object. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public SSJXYSeriesCollection()
Method Detail |
---|
public double getX(int series, int index)
series
- required series value.index
- value's index.
public double getY(int series, int index)
series
- required series value.index
- value's index.
public XYDataset getSeriesCollection()
public double[] getDomainBounds()
public double[] getRangeBounds()
public String toString()
toString
in class Object
String
.public XYItemRenderer getRenderer()
public void setRenderer(XYItemRenderer renderer)
XYChart
.
renderer
- new XYItemRenderer object.public Color getColor(int series)
public void setColor(int series, Color color)
series
- series index.color
- plotting color.public abstract String toLatex(double XScale, double YScale, double XShift, double YShift, double xmin, double xmax, double ymin, double ymax)
XScale
- Domain original data scale.YScale
- Range original data scale.XShift
- Domain original data shift value.YShift
- Range original data shift value.xmin
- Domain min bound.xmax
- Domain nax bound.ymin
- Range min bound.ymax
- Range nax bound.
|
SSJ V. 2.6.2. |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |