net.talvi.puffinplot.window
Interface PlotParams


public interface PlotParams

The current parameters for a plot. This interface provides a way for a plot to retrieve dynamic parameters affecting its appearance &endash; that is, parameters which can change after the plot has been created. An object implementing this interface is passed to a plot's constructor; the plot can then call back through this interface to read the current state of the parameters. In the case of the main graph display in PuffinPlot's GUI, the parameters are read from the PuffinApp object, which in turn gets them from user selections in the control panel.


Method Summary
 MeasurementAxis getAxis()
          Returns the vertical projection axis for a Zijderveld plot.
 Correction getCorrection()
          Returns the correction to be applied to magnetic moment data.
 Sample getSample()
          Returns the sample to plot.
 

Method Detail

getSample

Sample getSample()
Returns the sample to plot.

Returns:
the sample to plot

getCorrection

Correction getCorrection()
Returns the correction to be applied to magnetic moment data.

Returns:
the correction to be applied to magnetic moment data

getAxis

MeasurementAxis getAxis()
Returns the vertical projection axis for a Zijderveld plot.

Returns:
the vertical projection axis for a Zijderveld plot