how can i show the output of 2 clusters in one plot?
3 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
I have two clusters of data each cluster has x,y (coordinates) and a value to know it's type(1 class1,2 class 2)I have plotted these data but i would like to split these classes with boundary(visually). what is the function to do such thing. i tried contour but it did not help!
0 Kommentare
Akzeptierte Antwort
Image Analyst
am 28 Dez. 2012
You could use the plot function. Use "hold on" after you plot the data points so the line/curve doesn't blow away your scatterplot. You could also plot each class in a different color. You could use the convex hull of the points and then plot that, or you could use plot() or line() to place a line between the clusters to divide/separate them.
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu 2-D and 3-D Plots finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!