This class extends umontreal.ssj.charts.XYListSeriesCollection. More...
Public Member Functions | |
| YListSeriesCollection (double[]... data) | |
| Creates a new YListSeriesCollection instance with default parameters and given data series. | |
| YListSeriesCollection (boolean flag, double[]... data) | |
Similar to the constructor YListSeriesCollection(data) above, except that if flag is true, the points are \((j+1, \mbox{\texttt{data}}[j])\) for each series; but if flag is false, the points are \(((j+1)/n, \mbox{\texttt{data}}[j])\), where \(n\) is the number of points of each series in data. | |
| YListSeriesCollection (double[] data, int numPoints) | |
| Creates a new YListSeriesCollection instance with default parameters and one data series. | |
| YListSeriesCollection (double h, double[] data, int numPoints) | |
Similar to the constructor YListSeriesCollection(data, numPoints) above, but the points are. | |
| YListSeriesCollection (double[][] data, int numPoints) | |
| Creates a new YListSeriesCollection instance with default parameters and given data series. | |
This class extends umontreal.ssj.charts.XYListSeriesCollection.
The data is given as lists of \(y\)-coordinates. The \(x\)-coordinates are regularly spaced multiples of the indices of the data points.
Definition at line 38 of file YListSeriesCollection.java.
| umontreal.ssj.charts.YListSeriesCollection.YListSeriesCollection | ( | double...[] | data | ) |
Creates a new YListSeriesCollection instance with default parameters and given data series.
The input vectors represent sets of plotting data. More specifically, each vector data represents a
\(y\)-coordinates set. Position in the vector will form the \(x\)-coordinates. Indeed the value data \([j]\) corresponds to the point \((j+1, \mbox{\texttt{data}}[j])\) on the chart.
| data | series of point sets. |
Definition at line 110 of file YListSeriesCollection.java.
| umontreal.ssj.charts.YListSeriesCollection.YListSeriesCollection | ( | boolean | flag, |
| double...[] | data ) |
Similar to the constructor YListSeriesCollection(data) above, except that if flag is true, the points are \((j+1, \mbox{\texttt{data}}[j])\) for each series; but if flag is false, the points are \(((j+1)/n, \mbox{\texttt{data}}[j])\), where \(n\) is the number of points of each series in data.
| flag | to choose the step between \(x\)-coordinates |
| data | series of point sets. |
Definition at line 124 of file YListSeriesCollection.java.
| umontreal.ssj.charts.YListSeriesCollection.YListSeriesCollection | ( | double[] | data, |
| int | numPoints ) |
Creates a new YListSeriesCollection instance with default parameters and one data series.
The vector data represents the
\(y\)-coordinate of the points, and position in the vector represents the \(x\)-coordinate. However, only the first numPoints of data will be considered in the series. Thus the coordinates of the points are given by \((j, \mbox{\texttt{data}}[j-1])\), for \(j=1,2,…, \mathtt{numPoints}\).
| data | point set. |
| numPoints | Number of points to plot |
Definition at line 141 of file YListSeriesCollection.java.
| umontreal.ssj.charts.YListSeriesCollection.YListSeriesCollection | ( | double | h, |
| double[] | data, | ||
| int | numPoints ) |
Similar to the constructor YListSeriesCollection(data, numPoints) above, but the points are.
\((hj, \mbox{\texttt{data}}[j-1])\), for \(j=1,2,…, \mathtt{numPoints}\).
| h | step between \(x\)-coordinates |
| data | point set. |
| numPoints | Number of points to plot |
Definition at line 155 of file YListSeriesCollection.java.
| umontreal.ssj.charts.YListSeriesCollection.YListSeriesCollection | ( | double | data[][], |
| int | numPoints ) |
Creates a new YListSeriesCollection instance with default parameters and given data series.
The matrix data represents a set of plotting data. More specifically, each row of data represents a
\(y\)-coordinates set. Position in the vector will form the \(x\)-coordinates. Indeed, for each serie \(i\), the value data \([i][j]\) corresponds to the point \((j+1, \mbox{\texttt{data}}[j])\) on the chart. However, only the first numPoints of data will be considered for each series of points.
| data | series of point sets. |
| numPoints | Number of points to plot |
Definition at line 173 of file YListSeriesCollection.java.