Class GridPlotter.GridStyle
- java.lang.Object
-
- uk.ac.starlink.ttools.plot2.layer.GridPlotter.GridStyle
-
- All Implemented Interfaces:
Style
- Enclosing class:
- GridPlotter
public static class GridPlotter.GridStyle extends java.lang.Object implements Style
Style for configuring the grid plot.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object o)javax.swing.IcongetLegendIcon()Returns an icon suitable for displaying in a legend for this style.inthashCode()
-
-
-
Constructor Detail
-
GridStyle
public GridStyle(BinSizer xSizer, BinSizer ySizer, double xPhase, double yPhase, Scaling scaling, Subrange dataclip, Shader shader, Combiner combiner)
Constructor.- Parameters:
xSizer- determines X bin extentySizer- determines Y bin extentxPhase- X axis bin reference point, 0..1yPhase- Y axis bin reference point, 0..1scaling- scaling function for mapping densities to colour map entriesdataclip- scaling input adjustment subrangeshader- colour mapcombiner- value combination mode for bin calculation
-
-
Method Detail
-
getLegendIcon
public javax.swing.Icon getLegendIcon()
Description copied from interface:StyleReturns an icon suitable for displaying in a legend for this style.- Specified by:
getLegendIconin interfaceStyle
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
-