net.talvi.puffinplot.plots
Class TernaryPlot

java.lang.Object
  extended by net.talvi.puffinplot.plots.Plot
      extended by net.talvi.puffinplot.plots.TernaryPlot

public class TernaryPlot
extends Plot

An experimental ternary plot for a sample's magnetic moment data. Each point on the plot represents a magnetic moment measurement. Each of the ternary plot's axes corresponds to one of the three magnetic moment measurement axes (x, y, and z). A path on the plot thus shows how the relative intensities of the three orthogonal magnetization components vary during treatment. For a normal palaeomagnetic study, this is unlikely to be useful. It is designed for use with Lowrie's (1990) technique of thermal demagnetization of a composite triaxial IRM. In this case the three axes of the graph represent three different coercivity components, and the path of points for a sample represents the relative response of those components to thermal demagnetization.


Field Summary
 
Fields inherited from class net.talvi.puffinplot.plots.Plot
DEFAULT_PLOT_POSITIONS, dimensions, params, PLOT_POINT_SIZE
 
Constructor Summary
TernaryPlot(GraphDisplay parent, PlotParams params, java.util.prefs.Preferences prefs)
          Creates a ternary plot with the supplied parameters.
 
Method Summary
 void draw(java.awt.Graphics2D g)
          Draws 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.
 
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
 

Constructor Detail

TernaryPlot

public TernaryPlot(GraphDisplay parent,
                   PlotParams params,
                   java.util.prefs.Preferences prefs)
Creates a ternary plot with the supplied parameters.

Parameters:
parent - the graph display containing the plot
params - the parameters of the plot
prefs - the preferences containing the plot configuration
Method Detail

getName

public java.lang.String getName()
Description copied from class: Plot
Returns an internal name for this plot.

Specified by:
getName in class Plot
Returns:
an internal name for this plot

getNiceName

public java.lang.String getNiceName()
Description copied from class: Plot
Returns a user-friendly name for this plot.

Overrides:
getNiceName in class Plot
Returns:
a user-friendly name for this plot

draw

public void draw(java.awt.Graphics2D g)
Description copied from class: Plot
Draws this plot.

Specified by:
draw in class Plot
Parameters:
g - the graphics object onto which to draw this plot