Class TracePlotter.TraceStyle
- java.lang.Object
-
- uk.ac.starlink.ttools.plot2.layer.TracePlotter.TraceStyle
-
- All Implemented Interfaces:
Style
- Enclosing class:
- TracePlotter
public static class TracePlotter.TraceStyle extends java.lang.Object implements Style
Style for trace plot.
-
-
Constructor Summary
Constructors Constructor Description TraceStyle(java.awt.Color color, boolean isHorizontal, int thickness, double qlo, double qhi, Kernel1dShape kernelShape, BinSizer smoothSizer)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object o)
javax.swing.Icon
getLegendIcon()
Returns an icon suitable for displaying in a legend for this style.int
hashCode()
-
-
-
Constructor Detail
-
TraceStyle
public TraceStyle(java.awt.Color color, boolean isHorizontal, int thickness, double qlo, double qhi, Kernel1dShape kernelShape, BinSizer smoothSizer)
Constructor.- Parameters:
color
- colourisHorizontal
- true for horizontal fill, false for verticalthickness
- line thicknessqlo
- target lower quantile in range 0..1qhi
- target upper quantile in range 0..1kernelShape
- smoothing kernelsmoothSizer
- smoothing extent control
-
-
Method Detail
-
getLegendIcon
public javax.swing.Icon getLegendIcon()
Description copied from interface:Style
Returns an icon suitable for displaying in a legend for this style.- Specified by:
getLegendIcon
in interfaceStyle
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
-