Class SequencePlotter

    • Field Detail

      • input

        public TypedIOPort input
        Input port, which has type DoubleToken.
      • xUnit

        public Parameter xUnit
        The increment of the X axis.
      • xInit

        public Parameter xInit
        The start point of the X axis.
      • _xValue

        protected double _xValue
        X axis counter.
      • _xInit

        protected double _xInit
        Start of the X axis counter.
      • _xUnit

        protected double _xUnit
        Increment of the X axis counter.
    • Method Detail

      • postfire

        public boolean postfire()
                         throws IllegalActionException
        Read at most one token from each input channel and plot it as a function of the iteration number, scaled by xUnit. The first point is plotted at the horizontal position given by xInit. The increments on the position are given by xUnit. The input data are plotted in postfire() to ensure that the data have settled.
        Specified by:
        postfire in interface Executable
        Overrides:
        postfire in class AtomicActor<TypedIOPort>
        Returns:
        True if it is OK to continue.
        Throws:
        IllegalActionException - If there is no director, or if the base class throws it.