jhplot
Class Plottable
- java.lang.Object
- jhplot.Plottable
- All Implemented Interfaces:
- Serializable
- Direct Known Subclasses:
- DrawOptions, FPR, P2D, P3D
public class Plottableextends Objectimplements 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 String
getLabelX()
Get the label XString
getLabelY()
Get label YString
getLabelZ()
Get label ZString
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(String labelX)
Set lablel for X axisvoid
setLabelY(String labelY)
Set lablel for Y axisvoid
setLabelZ(String labelZ)
Set lablel for Z axis if applicable.void
setTitle(String title)
Set a new title
Method Detail
setTitle
public void setTitle(String title)
Set a new title- Parameters:
title
- New Title
getTitle
public String getTitle()
Get a new title- Returns:
- Title
setLabelX
public void setLabelX(String labelX)
Set lablel for X axis- Parameters:
labelX
- label
setLabelY
public void setLabelY(String labelY)
Set lablel for Y axis- Parameters:
labelY
- label
setLabelZ
public void setLabelZ(String labelZ)
Set lablel for Z axis if applicable.- Parameters:
labelZ
- label
getLabelX
public String getLabelX()
Get the label X- Returns:
- label Y
getLabelY
public String getLabelY()
Get label Y- Returns:
- label Y
getLabelZ
public 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 2.7 © DataMelt by jWork.ORG