public class ZPlot extends Plot
Modifier and Type | Class and Description |
---|---|
class |
ZPlot.ZplotLegend
A legend for a Zijderveld plot.
|
DEFAULT_PLOT_POSITIONS, dimensions, params, PLOT_POINT_SIZE
Constructor and Description |
---|
ZPlot(PlotParams params)
Creates a Zijderveld plot with the supplied parameters.
|
Modifier and Type | Method and Description |
---|---|
boolean |
areTreatmentStepsLabelled()
Determines whether the points should be labelled.
|
void |
draw(java.awt.Graphics2D graphics)
Draws this plot.
|
ZPlot.ZplotLegend |
getLegend()
Returns the legend for this plot.
|
java.lang.String |
getName()
Returns an internal name for this plot.
|
java.lang.String |
getNiceName()
Returns a user-friendly name for this plot.
|
addPoint, addSampleClickListener, addVisibilityChangedListener, applyTextAttributes, clearPoints, cropRectangle, drawPoints, getDashedStroke, getDimensions, getDimensionsAsString, getFontSize, getMargin, getStroke, getTextAttributes, getTickLength, getTreatmentStepForPosition, getUnitSize, isVisible, mouseClicked, putText, putText, removeSampleClickListener, removeVisibilityChangedListener, selectByRectangle, setDimensions, setDimensionsToDefault, setVisible, timesTenToThe, timesTenToThe, writeString, writeString
public ZPlot(PlotParams params)
params
- the parameters of the plotpublic java.lang.String getName()
Plot
public java.lang.String getNiceName()
Plot
getNiceName
in class Plot
public boolean areTreatmentStepsLabelled()
Plot
Plot
's drawing routines. As defined in Plot
, this method
always returns false
. Plots which use labelled points should
override it.areTreatmentStepsLabelled
in class Plot
true
if this plot's points should be labelledpublic void draw(java.awt.Graphics2D graphics)
Plot
public ZPlot.ZplotLegend getLegend()