jhplot
Class Plottable
- java.lang.Object
-
- jhplot.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 Xjava.lang.String
getLabelY()
Get label Yjava.lang.String
getLabelZ()
Get label Zjava.lang.String
getTitle()
Get a new titleboolean
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 axisvoid
setLabelY(java.lang.String labelY)
Set lablel for Y axisvoid
setLabelZ(java.lang.String labelZ)
Set lablel for Z axis if applicable.void
setTitle(java.lang.String title)
Set a new title
-
-
-
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