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 class
ScatterPlotFactory.Par
Parameterization class.
-
Field Summary
Fields Modifier and Type Field Description static int
MAX_DIMENSIONS_DEFAULT
Maximum number of dimensions to visualize.private int
maxdim
Stores 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 int
dimensionality(Relation<?> rel)
void
processNewResult(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:ProjectorFactory
Add projections for the given result (tree) to the result tree.- Specified by:
processNewResult
in interfaceProjectorFactory
- Specified by:
processNewResult
in interfaceVisualizationProcessor
- Parameters:
context
- Visualization contextstart
- Result to process
-
dimensionality
private int dimensionality(Relation<?> rel)
-
-