public class TimeStackGanger extends StackGanger<TimeSurfaceFactory.Profile,TimeAspect>
Modifier and Type | Field and Description |
---|---|
static GangerFactory<TimeSurfaceFactory.Profile,TimeAspect> |
FACTORY
GangerFactory instance that returns TimeStackGangers.
|
ZONEGAP_KEY
Constructor and Description |
---|
TimeStackGanger(String[] zoneNames,
Padding padding,
int zoneGap)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
TimeSurfaceFactory.Profile[] |
adjustProfiles(TimeSurfaceFactory.Profile[] profiles)
Adjusts plot surface profiles as required for plots appearing
in multiple plots within a gang.
|
TimeAspect |
fixXLimits(TimeAspect aspect,
double xmin,
double xmax)
Modifies an aspect object to give it fixed data limits on the
horizontal axis.
|
double[] |
getXLimits(TimeAspect aspect)
Returns the data limits of the horizontal axis defined by a given aspect.
|
boolean |
isShadingGlobal()
Indicates whether shared Aux colour ramps are to be
applied to each zone individually or to the whole plot.
|
boolean |
isTrimmingGlobal()
Indicates whether Trimming objects (legend and title) are to be
applied to each zone individually or to the whole plot.
|
adjustAspects, createApproxGang, createGang, createGang, getZoneCount, getZoneNames
public static final GangerFactory<TimeSurfaceFactory.Profile,TimeAspect> FACTORY
public TimeStackGanger(String[] zoneNames, Padding padding, int zoneGap)
zoneNames
- zone identifiers, one for each zone in the gangpadding
- defines user preferences, if any, for space
reserved outside the whole gangzoneGap
- vertical gap between zones in gangpublic boolean isTrimmingGlobal()
Ganger
Trimming
public boolean isShadingGlobal()
Ganger
ShadeAxisKit
public double[] getXLimits(TimeAspect aspect)
StackGanger
getXLimits
in class StackGanger<TimeSurfaceFactory.Profile,TimeAspect>
aspect
- surface aspectpublic TimeAspect fixXLimits(TimeAspect aspect, double xmin, double xmax)
StackGanger
fixXLimits
in class StackGanger<TimeSurfaceFactory.Profile,TimeAspect>
aspect
- input surface aspectxmin
- required lower limit on horizontal axisxmax
- required upper limit on horizontal axispublic TimeSurfaceFactory.Profile[] adjustProfiles(TimeSurfaceFactory.Profile[] profiles)
Ganger
adjustProfiles
in interface Ganger<TimeSurfaceFactory.Profile,TimeAspect>
adjustProfiles
in class StackGanger<TimeSurfaceFactory.Profile,TimeAspect>
profiles
- unadjusted profilesCopyright © 2024 Central Laboratory of the Research Councils. All Rights Reserved.