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) |
| 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
See Also: MatrixSeries
See Also: zeroAll