java.lang.Object | |||
↳ | org.jfree.data.general.Series | ||
↳ | org.jfree.data.xy.MatrixSeries | ||
↳ | org.jfree.data.xy.NormalizedMatrixSeries |
Represents a dense normalized matrix M[i,j] where each Mij item of the
matrix has a value (default is 0). When a matrix item is observed using
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.
Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
double | DEFAULT_SCALE_FACTOR | The default scale factor. |
[Expand]
Inherited Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Constructor for NormalizedMatrixSeries.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Returns an item.
| |||||||||||
Returns the factor that multiplies each item in this series when
observed using getItem mehtod.
| |||||||||||
Sets the factor that multiplies each item in this series when observed
using getItem mehtod.
| |||||||||||
Updates the value of the specified item in this matrix series.
| |||||||||||
Sets all matrix values to zero and sends a
SeriesChangeEvent to all registered
listeners. |
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() | |||||||||||
![]() |
The default scale factor.
Constructor for NormalizedMatrixSeries.
name | the series name. |
---|---|
rows | the number of rows. |
columns | the number of columns. |
Returns the factor that multiplies each item in this series when observed using getItem mehtod.
Sets the factor that multiplies each item in this series when observed using getItem mehtod.
factor | new factor to set. |
---|
Updates the value of the specified item in this matrix series.
i | the row of the item. |
---|---|
j | the column of the item. |
mij | the new value for the item. |
Sets all matrix values to zero and sends a
SeriesChangeEvent
to all registered
listeners.