Class HeatMapExample
- java.lang.Object
-
- com.metsci.glimpse.core.examples.heatmap.HeatMapExample
-
public class HeatMapExample extends Object
A square heat map plot with adjustable color scale. Uses GLSL shaders and textures to provide dynamic adjustment of mapping from data value to color.- Author:
- ulman
-
-
Constructor Summary
Constructors Constructor Description HeatMapExample()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ColorAxisPlot2D
customizePlot(ColorAxisPlot2D plot)
static double[][]
generateData(int sizeX, int sizeY)
static void
main(String[] args)
static ColorTexture1D
newColorTexture()
static ColorAxisPlot2D
newEmptyPlot()
static ColorAxisPlot2D
newHeatMapPlot()
static HeatMapPainter
newPainter(Axis1D axis)
static HeatMapPainter
newPainter(ColorTexture1D colorScale, Axis1D axis)
-
-
-
Method Detail
-
main
public static void main(String[] args)
-
newHeatMapPlot
public static ColorAxisPlot2D newHeatMapPlot()
-
newEmptyPlot
public static ColorAxisPlot2D newEmptyPlot()
-
customizePlot
public static ColorAxisPlot2D customizePlot(ColorAxisPlot2D plot)
-
generateData
public static double[][] generateData(int sizeX, int sizeY)
-
newColorTexture
public static ColorTexture1D newColorTexture()
-
newPainter
public static HeatMapPainter newPainter(Axis1D axis)
-
newPainter
public static HeatMapPainter newPainter(ColorTexture1D colorScale, Axis1D axis)
-
-