Class Stripchart

All Implemented Interfaces:
Data, Drawable, LogMeasurable, Measurable

public class Stripchart extends Dataset
Stripchart stores data having increasing x values. Only data within the interval [lastx-xrange, lastx] is retained.
Version:
1.0
Author:
Wolfgang Christian
  • Constructor Details

    • Stripchart

      public Stripchart(double _xrange, double _yrange)
      Constructs a Stripchart witht he given ranges.
      Parameters:
      _xrange - double
      _yrange - double
    • Stripchart

      protected Stripchart()
      Constructs a Stripchart for use by the XML loader.
  • Method Details

    • setRange

      public void setRange(double _xrange, double _yrange)
      Sets the range of the stipchart.
      Parameters:
      _xrange - double
      _yrange - double
    • enable

      public void enable(boolean enabled)
    • append

      public void append(double x, double y)
      Appends an (x,y) datum to the Stipchart.
      Overrides:
      append in class Dataset
      Parameters:
      x -
      y -
    • append

      public void append(double[] _xpoints, double[] _ypoints)
      Appends (x,y) data-arrays to the Stipchart.
      Overrides:
      append in class Dataset
      Parameters:
      _xpoints -
      _ypoints -
    • clear

      public void clear()
      Clears all data from this Dataset.
      Overrides:
      clear in class Dataset
    • getLoader

      public static XML.ObjectLoader getLoader()
      Returns the XML.ObjectLoader for this class.
      Returns:
      the object loader