Class ContourPlotFlow

    • Constructor Detail

      • ContourPlotFlow

        public ContourPlotFlow​(String caption,
                               OTSSimulatorInterface simulator,
                               ContourDataSource<?> dataPool)
        Constructor.
        Parameters:
        caption - String; caption
        simulator - OTSSimulatorInterface; simulator
        dataPool - ContourDataSource<?>; data pool
    • Method Detail

      • getGraphType

        public GraphType getGraphType()
        Return the graph type for transceiver.
        Specified by:
        getGraphType in class AbstractPlot
        Returns:
        GraphType; the graph type.
      • scale

        protected double scale​(double si)
        Scale the value from SI to the desired unit for users.
        Specified by:
        scale in class AbstractContourPlot<Frequency>
        Parameters:
        si - double; SI value
        Returns:
        double; scaled value
      • getValue

        protected double getValue​(int item,
                                  double cellLength,
                                  double cellSpan)
        Obtain value for cell from the data pool.
        Specified by:
        getValue in class AbstractContourPlot<Frequency>
        Parameters:
        item - int; item number
        cellLength - double; cell length
        cellSpan - double; cell duration
        Returns:
        double; value for cell from the data pool