Package elki.visualization.projector
Class ScatterPlotFactory
- java.lang.Object
-
- elki.visualization.projector.ScatterPlotFactory
-
- All Implemented Interfaces:
ProjectorFactory,VisualizationProcessor
public class ScatterPlotFactory extends java.lang.Object implements ProjectorFactory
Produce scatterplot projections.- Since:
- 0.4.0
- Author:
- Erich Schubert
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classScatterPlotFactory.ParParameterization class.
-
Field Summary
Fields Modifier and Type Field Description static intMAX_DIMENSIONS_DEFAULTMaximum number of dimensions to visualize.private intmaxdimStores the maximum number of dimensions to show.
-
Constructor Summary
Constructors Constructor Description ScatterPlotFactory(int maxdim)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description private intdimensionality(Relation<?> rel)voidprocessNewResult(VisualizerContext context, java.lang.Object start)Add projections for the given result (tree) to the result tree.
-
-
-
Field Detail
-
MAX_DIMENSIONS_DEFAULT
public static final int MAX_DIMENSIONS_DEFAULT
Maximum number of dimensions to visualize.FIXME: add scrolling function for higher dimensionality!
- See Also:
- Constant Field Values
-
maxdim
private int maxdim
Stores the maximum number of dimensions to show.
-
-
Method Detail
-
processNewResult
public void processNewResult(VisualizerContext context, java.lang.Object start)
Description copied from interface:ProjectorFactoryAdd projections for the given result (tree) to the result tree.- Specified by:
processNewResultin interfaceProjectorFactory- Specified by:
processNewResultin interfaceVisualizationProcessor- Parameters:
context- Visualization contextstart- Result to process
-
dimensionality
private int dimensionality(Relation<?> rel)
-
-