Documentation of 'smile.plot.Plot' Java class
Plot
smile.plot

Class Plot

    • Constructor Summary

      Constructors 
      Constructor and Description
      Plot()
      Constructor.
      Plot(java.awt.Color color)
      Constructor.
      Plot(java.lang.String id)
      Constructor.
      Plot(java.lang.String id, java.awt.Color color)
      Constructor.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      java.lang.String getID()
      Returns the id of plot.
      javax.swing.JComponent[] getToolBar()
      Returns an optional list of components in tool bar to control the plot.
      java.lang.String getToolTip(double[] coord)
      Returns a optional tool tip for the object at given coordinates.
      Plot setID(java.lang.String id)
      Set the id of plot.
      • Methods inherited from class java.lang.Object

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

      • Plot

        public Plot()
        Constructor.
      • Plot

        public Plot(java.lang.String id)
        Constructor.
      • Plot

        public Plot(java.awt.Color color)
        Constructor.
      • Plot

        public Plot(java.lang.String id,
                    java.awt.Color color)
        Constructor.
    • Method Detail

      • setID

        public Plot setID(java.lang.String id)
        Set the id of plot.
      • getID

        public java.lang.String getID()
        Returns the id of plot.
      • getToolTip

        public java.lang.String getToolTip(double[] coord)
        Returns a optional tool tip for the object at given coordinates.
        Parameters:
        coord - the logical coordinates of current mouse position.
        Returns:
        a string if an object with label close to the given coordinates. Otherwise null.
      • getToolBar

        public javax.swing.JComponent[] getToolBar()
        Returns an optional list of components in tool bar to control the plot.
        Returns:
        an optional list of toolbar components, may be null.

DataMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.