Package uk.ac.starlink.ttools.plot2
Class ShadeAxisKit
java.lang.Object
uk.ac.starlink.ttools.plot2.ShadeAxisKit
Aggregates information required for generating an Aux colour axis.
- Since:
- 19 Jul 2023
- Author:
- Mark Taylor
-
Constructor Summary
ConstructorsConstructorDescriptionConstructs a ShadeAxisKit with null members.ShadeAxisKit
(ShadeAxisFactory axisFact, Span fixSpan, Subrange subrange) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionReturns the shade axis factory which determines most of the characteristics of the axis and its scaling.Returns an object supplying one or both data bounds for the axis if provided (typically user-supplied).Returns a subrange to be applied to the fixed or automatically-determined data range.
-
Constructor Details
-
ShadeAxisKit
Constructor.- Parameters:
axisFact
- shade axis factoryfixSpan
- fixed (typically user-supplied) values bounding the axis range; one or both bounds may be NaN or the value itself may be null for full/partial auto-rangingsubrange
- subrange to be applied to the specified or automatic data range; may be null for default behaviour
-
ShadeAxisKit
public ShadeAxisKit()Constructs a ShadeAxisKit with null members.
-
-
Method Details
-
getAxisFactory
Returns the shade axis factory which determines most of the characteristics of the axis and its scaling.- Returns:
- shade axis factory
-
getFixSpan
Returns an object supplying one or both data bounds for the axis if provided (typically user-supplied). Either or both bounds may be NaN, or the result itself may be null, to indicate full or partial auto-ranging.- Returns:
- fixed span, or null
-
getSubrange
Returns a subrange to be applied to the fixed or automatically-determined data range. May be null for default behaviour (full range).- Returns:
- subrange, or null
-