uk.ac.starlink.ttools.plot
Class ScatterPlotEvent

java.lang.Object
  extended by uk.ac.starlink.ttools.plot.PlotEvent
      extended by uk.ac.starlink.ttools.plot.ScatterPlotEvent

public class ScatterPlotEvent
extends PlotEvent

PlotEvent for scatter plots.

Since:
3 Apr 2008
Author:
Mark Taylor

Constructor Summary
ScatterPlotEvent(Component source, PlotState plotState, int nPotential, int nIncluded, int nVisible, XYStats[] xyStats)
          Constructor.
 
Method Summary
 XYStats[] getXYStats()
          Returns an array of the calculated linear correlation statistics for each set, if correlation calculations were requested.
 
Methods inherited from class uk.ac.starlink.ttools.plot.PlotEvent
getIncludedPointCount, getPlotState, getPotentialPointCount, getSource, getVisiblePointCount
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ScatterPlotEvent

public ScatterPlotEvent(Component source,
                        PlotState plotState,
                        int nPotential,
                        int nIncluded,
                        int nVisible,
                        XYStats[] xyStats)
Constructor.

Parameters:
source - source of this event
plotState - plot state reflected by this change event
nPotential - total number of points available
nIncluded - number of points included in marked subsets
nVisible - number of points actually plotted
xyStats - calculated correlation statistics for each set if applicable
Method Detail

getXYStats

public XYStats[] getXYStats()
Returns an array of the calculated linear correlation statistics for each set, if correlation calculations were requested.

Returns:
nset-element array of correlation statistics if required


Copyright © 2017 Central Laboratory of the Research Councils. All Rights Reserved.