Package uk.ac.starlink.ttools.plot
Class ScatterPlotEvent
java.lang.Object
uk.ac.starlink.ttools.plot.PlotEvent
uk.ac.starlink.ttools.plot.ScatterPlotEvent
PlotEvent for scatter plots.
- Since:
- 3 Apr 2008
- Author:
- Mark Taylor
-
Constructor Summary
ConstructorsConstructorDescriptionScatterPlotEvent
(Component source, PlotState plotState, int nPotential, int nIncluded, int nVisible, XYStats[] xyStats) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionXYStats[]
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
-
Constructor Details
-
ScatterPlotEvent
public ScatterPlotEvent(Component source, PlotState plotState, int nPotential, int nIncluded, int nVisible, XYStats[] xyStats) Constructor.- Parameters:
source
- source of this eventplotState
- plot state reflected by this change eventnPotential
- total number of points availablenIncluded
- number of points included in marked subsetsnVisible
- number of points actually plottedxyStats
- calculated correlation statistics for each set if applicable
-
-
Method Details
-
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
-