Class SphericalPlotState


  • public class SphericalPlotState
    extends Plot3DState
    PlotState specific to spherical 3D plots.
    Since:
    5 Jan 2006
    Author:
    Mark Taylor
    • Constructor Detail

      • SphericalPlotState

        public SphericalPlotState()
    • Method Detail

      • setRadialInfo

        public void setRadialInfo​(uk.ac.starlink.table.ValueInfo info)
        Sets metadata information about the radial coordinate. A null value indicates that there is no useful radial information (all radial values are to be taken as unity). Note some information from the submitted info object may be discarded, only the parts required for plotting are retained.
        Parameters:
        info - radial coordinate metadata
      • getRadialInfo

        public uk.ac.starlink.table.ValueInfo getRadialInfo()
        Returns metadata information about the radial coordinate. A null value indicates that there is no useful radial information (all radial values are to be taken as unity).
        Returns:
        radial coordinate metadata
      • setRadialLog

        public void setRadialLog​(boolean radialLog)
        Sets whether the radial dimension should be plotted on a logarithmic scale. This is only relevant for spherical plots.
        Parameters:
        radialLog - true for logarithmic treatment of the radial coordinate, false for linear
      • getRadialLog

        public boolean getRadialLog()
        Determines whether the radial dimension should be plotted on a logarithmic scale. This is only relevant for spherical plots.
        Returns:
        true for logarithmic treatment of the radial coordinate, false for linear
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class Plot3DState