Documentation of 'jhplot.Plottable' Java class.
Plottable
jhplot

Class Plottable

  • All Implemented Interfaces:
    java.io.Serializable
    Direct Known Subclasses:
    DrawOptions, FPR, P2D, P3D


    public class Plottable
    extends java.lang.Object
    implements java.io.Serializable
    All objects which can be plottable should implement this class.
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor and Description
      Plottable()
      Sets drawing options
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      java.lang.String getLabelX()
      Get the label X
      java.lang.String getLabelY()
      Get label Y
      java.lang.String getLabelZ()
      Get label Z
      java.lang.String getTitle()
      Get a new title
      boolean is3D()
      Is this plot for 3D canvas.
      void set3D(boolean is3d)
      Set 3D if this is for 3D canvas.
      void setLabelX(java.lang.String labelX)
      Set lablel for X axis
      void setLabelY(java.lang.String labelY)
      Set lablel for Y axis
      void setLabelZ(java.lang.String labelZ)
      Set lablel for Z axis if applicable.
      void setTitle(java.lang.String title)
      Set a new title
      • Methods inherited from class java.lang.Object

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

      • Plottable

        public Plottable()
        Sets drawing options
    • Method Detail

      • setTitle

        public void setTitle(java.lang.String title)
        Set a new title
        Parameters:
        title - New Title
      • getTitle

        public java.lang.String getTitle()
        Get a new title
        Returns:
        Title
      • setLabelX

        public void setLabelX(java.lang.String labelX)
        Set lablel for X axis
        Parameters:
        labelX - label
      • setLabelY

        public void setLabelY(java.lang.String labelY)
        Set lablel for Y axis
        Parameters:
        labelY - label
      • setLabelZ

        public void setLabelZ(java.lang.String labelZ)
        Set lablel for Z axis if applicable.
        Parameters:
        labelZ - label
      • getLabelX

        public java.lang.String getLabelX()
        Get the label X
        Returns:
        label Y
      • getLabelY

        public java.lang.String getLabelY()
        Get label Y
        Returns:
        label Y
      • getLabelZ

        public java.lang.String getLabelZ()
        Get label Z
        Returns:
        label Z
      • is3D

        public boolean is3D()
        Is this plot for 3D canvas.
        Returns:
        true if 3D canvas.
      • set3D

        public void set3D(boolean is3d)
        Set 3D if this is for 3D canvas.
        Parameters:
        is3d - true if 3D

DMelt 3.0 © DataMelt by jWork.ORG