org.jfree.data.xy
public class NormalizedMatrixSeries extends MatrixSeries
getItem method, it is normalized, that is, divided by the
total sum of all items. It can be also be scaled by setting a scale factor.
| Field Summary | |
|---|---|
| static double | DEFAULT_SCALE_FACTOR The default scale factor. |
| Constructor Summary | |
|---|---|
| NormalizedMatrixSeries(String name, int rows, int columns)
Constructor for NormalizedMatrixSeries.
| |
| Method Summary | |
|---|---|
| Number | getItem(int itemIndex)
Returns an item.
|
| double | getScaleFactor()
Returns the factor that multiplies each item in this series when
observed using getItem mehtod.
|
| void | setScaleFactor(double factor)
Sets the factor that multiplies each item in this series when observed
using getItem mehtod.
|
| void | update(int i, int j, double mij)
Updates the value of the specified item in this matrix series.
|
| void | zeroAll() |
Parameters: name the series name. rows the number of rows. columns the number of columns.
Returns: The factor
Parameters: factor new factor to set.
See Also: DEFAULT_SCALE_FACTOR
Parameters: i the row of the item. j the column of the item. mij the new value for the item.
See Also: NormalizedMatrixSeries
See Also: zeroAll