Shows a new chart in a default form.

Namespace:  CenterSpace.NMath.Charting.Microsoft
Assembly:  NMathStatsChartMicrosoft (in NMathStatsChartMicrosoft.dll) Version: 3.4.0.0

Syntax

C#
public static void Show(
	ClusterSet clusters,
	DoubleMatrix data,
	int xColIndex,
	int yColIndex
)
Visual Basic (Declaration)
Public Shared Sub Show ( _
	clusters As ClusterSet, _
	data As DoubleMatrix, _
	xColIndex As Integer, _
	yColIndex As Integer _
)
Visual C++
public:
static void Show(
	ClusterSet^ clusters, 
	DoubleMatrix^ data, 
	int xColIndex, 
	int yColIndex
)

Parameters

clusters
Type: CenterSpace.NMath.Stats..::.ClusterSet
The cluster assignments.
data
Type: CenterSpace.NMath.Core..::.DoubleMatrix
A matrix of data. Each row in the matrix represents an object that was clustered.
xColIndex
Type: System..::.Int32
The index of the matrix column containing the x data.
yColIndex
Type: System..::.Int32
The index of the matrix column containing the y data.

Remarks

Instances of class ClusterSet are created by ClusterAnalysis, KMeanClustering, and NMFClustering objects and cannot be constructed independently.
Objects are shown plotted in the specified x,y plane, colored according to their cluster assignment.
Equivalent to:
CopyC#
NMathStatsChart.Show( ToChart( clusters, data, xColIndex, yColIndex ) );

Exceptions

ExceptionCondition
CenterSpace.NMath.Core..::.IndexOutOfRangeExceptionThrown if either column index is outside the range of the columns of the given data matrix.

See Also