net.talvi.puffinplot.plots
Class AmsPlot
java.lang.Object
net.talvi.puffinplot.plots.Plot
net.talvi.puffinplot.plots.EqAreaPlot
net.talvi.puffinplot.plots.AmsPlot
public class AmsPlot
- extends EqAreaPlot
A plot which shows the principal axes of anisotropy of magnetic
susceptibility (AMS) tensors, and statistical means and confidence
regions for groups of tensors.
Constructor Summary |
AmsPlot(GraphDisplay parent,
PlotParams params,
java.util.prefs.Preferences prefs)
Creates an AMS plot with the supplied parameters. |
Method Summary |
void |
draw(java.awt.Graphics2D g)
Draws this plot. |
java.lang.String |
getName()
Returns this plot's internal name. |
java.lang.String |
getNiceName()
Returns this plot's user-friendly name. |
Methods inherited from class net.talvi.puffinplot.plots.Plot |
addPoint, addSampleClickListener, applyTextAttributes, clearPoints, cropRectangle, drawPoints, getDashedStroke, getDimensions, getDimensionsAsString, getFontSize, getMargin, getStroke, getTextAttributes, getTickLength, getUnitSize, isVisible, mouseClicked, removeSampleClickListener, selectByRectangle, setDimensions, setDimensionsToDefault, setVisible, timesTenToThe, timesTenToThe, writeString, writeString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AmsPlot
public AmsPlot(GraphDisplay parent,
PlotParams params,
java.util.prefs.Preferences prefs)
- Creates an AMS plot with the supplied parameters.
- Parameters:
parent
- the graph display containing the plotparams
- the parameters of the plotprefs
- the preferences containing the plot configuration
getName
public java.lang.String getName()
- Returns this plot's internal name.
- Specified by:
getName
in class Plot
- Returns:
- this plot's internal name
getNiceName
public java.lang.String getNiceName()
- Returns this plot's user-friendly name.
- Overrides:
getNiceName
in class Plot
- Returns:
- this plot's user-friendly name
draw
public void draw(java.awt.Graphics2D g)
- Draws this plot.
- Specified by:
draw
in class Plot
- Parameters:
g
- the graphics context to which to draw the plot