net.talvi.puffinplot.plots
Class SeparateSuiteEaPlot

java.lang.Object
  extended by net.talvi.puffinplot.plots.Plot
      extended by net.talvi.puffinplot.plots.EqAreaPlot
          extended by net.talvi.puffinplot.plots.SeparateSuiteEaPlot

public class SeparateSuiteEaPlot
extends EqAreaPlot

An equal-area plot showing suite-level Fisher statistics. This plot is only used in the special Fisher plot window; SuiteEqAreaPlot is used in the main window.


Field Summary
 
Fields inherited from class net.talvi.puffinplot.plots.EqAreaPlot
g, radius, xo, yo
 
Fields inherited from class net.talvi.puffinplot.plots.Plot
DEFAULT_PLOT_POSITIONS, dimensions, params, PLOT_POINT_SIZE
 
Constructor Summary
SeparateSuiteEaPlot(GraphDisplay parent, PlotParams params, java.awt.geom.Rectangle2D dimensions, java.util.prefs.Preferences prefs)
          Creates a suite equal-area 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.
 boolean isGroupedBySite()
          Reports whether the Fisher means are grouped by site.
 void setGroupedBySite(boolean groupedBySite)
          Sets whether the Fisher means are to be grouped by site.
 
Methods inherited from class net.talvi.puffinplot.plots.EqAreaPlot
drawAxes, drawGreatCircle, drawGreatCircleSegment, drawGreatCircleSegment, drawLineSegments, isTaperingEnabled, project, updatePlotDimensions, vectorsToPath
 
Methods inherited from class net.talvi.puffinplot.plots.Plot
addPoint, addSampleClickListener, applyTextAttributes, clearPoints, cropRectangle, drawPoints, getDashedStroke, getDimensions, getDimensionsAsString, getFontSize, getMargin, getNiceName, 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

SeparateSuiteEaPlot

public SeparateSuiteEaPlot(GraphDisplay parent,
                           PlotParams params,
                           java.awt.geom.Rectangle2D dimensions,
                           java.util.prefs.Preferences prefs)
Creates a suite equal-area plot with the supplied parameters.

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

getName

public java.lang.String getName()
Returns this plot's internal name.

Specified by:
getName in class Plot
Returns:
this plot's internal name

draw

public void draw(java.awt.Graphics2D g)
Draws this plot.

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

isGroupedBySite

public boolean isGroupedBySite()
Reports whether the Fisher means are grouped by site.

Returns:
true if the graph shows Fisher means are grouped by site; false if it shows a single Fisher mean calculated from all samples

setGroupedBySite

public void setGroupedBySite(boolean groupedBySite)
Sets whether the Fisher means are to be grouped by site.

Parameters:
groupedBySite - true to show Fisher means are grouped by site; false to show a single Fisher mean calculated from all samples