Class TimeAxisController

  • All Implemented Interfaces:
    Configger

    public class TimeAxisController
    extends CartesianAxisController<uk.ac.starlink.ttools.plot2.geom.TimeSurfaceFactory.Profile,​uk.ac.starlink.ttools.plot2.geom.TimeAspect>
    Axis control for plot with a horizontal time axis.
    Since:
    24 Jul 2013
    Author:
    Mark Taylor
    • Constructor Detail

      • TimeAxisController

        public TimeAxisController()
        Constructor.
    • Method Detail

      • logChanged

        protected boolean logChanged​(uk.ac.starlink.ttools.plot2.geom.TimeSurfaceFactory.Profile prof1,
                                     uk.ac.starlink.ttools.plot2.geom.TimeSurfaceFactory.Profile prof2)
        Description copied from class: CartesianAxisController
        Indicates whether the scaling has changed to or from logarithmic for any of the cartesian axes between two profiles. If so, it's going to be necessary to rescale, since attempting a log plot with negative values would fail.
        Specified by:
        logChanged in class CartesianAxisController<uk.ac.starlink.ttools.plot2.geom.TimeSurfaceFactory.Profile,​uk.ac.starlink.ttools.plot2.geom.TimeAspect>
        Parameters:
        prof1 - first profile
        prof2 - second profile
        Returns:
        true iff some of the axes are log in prof1 and linear in prof2 or vice versa
      • getConfig

        public uk.ac.starlink.ttools.plot2.config.ConfigMap getConfig()
        Description copied from class: AxisController
        Returns the configuration defined by all this object's controls.
        Specified by:
        getConfig in interface Configger
        Overrides:
        getConfig in class AxisController<uk.ac.starlink.ttools.plot2.geom.TimeSurfaceFactory.Profile,​uk.ac.starlink.ttools.plot2.geom.TimeAspect>
        Returns:
        config map