Documentation of 'jhplot.HPlotRT' Java class.
HPlotRT
jhplot

Class HPlotRT



  • public class HPlotRT
    extends java.lang.Object
    Plot canvas for real-time charts. The "RT" in the name means "real-time". It is designed for displaying multiple traces consisting of trace points. Traces can be changed at real-time. Only one canvas area is possible.
    • Constructor Summary

      Constructors 
      Constructor and Description
      HPlotRT()
      Construct a real-time canvas with a plot with the default parameters 600 by 400, and 10% space for the global title "Default"
      HPlotRT(java.lang.String title)
      Construct a real-tyme plot with the default parameters 600 by 400, and 10% space for the global title
      HPlotRT(java.lang.String title, int xsize, int ysize)
      Create the real-tyme dynamic canvas.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      void add(ITrace2D trace)
      Add dynamic trace with data for showing in the canvas.
      void close() 
      void doc()
      Show online documentation.
      IAxis<?> getAxisX()
      Return X-axis
      IAxis<?> getAxisY()
      Return Y-axis
      Chart2D getChart()
      Returns the current chart.
      void quit()
      Quit the canvas (and dispose all components) Note: a memory leak is found - no time to study it.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • HPlotRT

        public HPlotRT(java.lang.String title,
                       int xsize,
                       int ysize)
        Create the real-tyme dynamic canvas.
        Parameters:
        title - Title
        xsize - size in x direction
        ysize - size in y direction
      • HPlotRT

        public HPlotRT(java.lang.String title)
        Construct a real-tyme plot with the default parameters 600 by 400, and 10% space for the global title
        Parameters:
        title - Title
      • HPlotRT

        public HPlotRT()
        Construct a real-time canvas with a plot with the default parameters 600 by 400, and 10% space for the global title "Default"
    • Method Detail

      • getAxisX

        public IAxis<?> getAxisX()
        Return X-axis
        Returns:
        X-axis
      • getAxisY

        public IAxis<?> getAxisY()
        Return Y-axis
        Returns:
        Y-axis
      • add

        public void add(ITrace2D trace)
        Add dynamic trace with data for showing in the canvas.
        Parameters:
        trace - data to be added
      • getChart

        public Chart2D getChart()
        Returns the current chart.
        Returns:
        returns the current chart.
      • doc

        public void doc()
        Show online documentation.
      • close

        public void close()
      • quit

        public void quit()
        Quit the canvas (and dispose all components) Note: a memory leak is found - no time to study it. set to null all the stuff

DMelt 3.0 © DataMelt by jWork.ORG