Plot clustering result

Auxiliary script for plotting the results of the clustering. Only for 2D and 3D data.

Example

Plotting the result (located in the \(\texttt{out/CRes.dat}\)) of clustering the data in the \(\texttt{out/data.dat}\) file

python ../utils/plotClusteringRes.py -d data/data.dat -l out/CRes.dat

The same, but instead of plotting the cluster labels, the soft cluster membership indicator value (available only in case of AMS and BAS) is plotted

python ../utils/plotClusteringRes.py -d data/data.dat -l out/CRes.dat -t 1

The same as above, but a figure file is generated as \(\texttt{out/f}\_\texttt{res.eps}\) instead of the plot with the title of “the title”

python ../utils/plotClusteringRes.py -d data/data.dat -l out/CRes.dat --title "The title" --saveTo out/f_res
plotClusteringRes.Plot(fdata, flabel, type, title, fsave)[source]
plotClusteringRes.Help()[source]
plotClusteringRes.main(argv)[source]