public abstract class HeatMapUtilities extends Object
HeatMapDataset.| Constructor and Description |
|---|
HeatMapUtilities() |
| Modifier and Type | Method and Description |
|---|---|
static BufferedImage |
createHeatMapImage(HeatMapDataset dataset,
PaintScale paintScale)
Creates an image that displays the values from the specified dataset.
|
static XYDataset |
extractColumnFromHeatMapDataset(HeatMapDataset dataset,
int column,
Comparable seriesName)
Returns a dataset containing one series that holds a copy of the (y, z)
data from one column (x-index) of the specified dataset.
|
static XYDataset |
extractRowFromHeatMapDataset(HeatMapDataset dataset,
int row,
Comparable seriesName)
Returns a dataset containing one series that holds a copy of the (x, z)
data from one row (y-index) of the specified dataset.
|
public static XYDataset extractRowFromHeatMapDataset(HeatMapDataset dataset, int row, Comparable seriesName)
dataset - the dataset (null not permitted).row - the row (y) index.seriesName - the series name/key (null not permitted).public static XYDataset extractColumnFromHeatMapDataset(HeatMapDataset dataset, int column, Comparable seriesName)
dataset - the dataset (null not permitted).column - the column (x) index.seriesName - the series name (null not permitted).public static BufferedImage createHeatMapImage(HeatMapDataset dataset, PaintScale paintScale)
dataset - the dataset (null not permitted).paintScale - the paint scale for the z-values (null
not permitted).Copyright © 2001–2014 JFree.org. All rights reserved.