The plotted view shows the same computed step geometrically. Points are colored by assignment, old centroids are squares, and updated centroids are diamonds.

highlighted = computed this step

The same step on the plot

The plot colors points by their recomputed assignment. Squares mark the old centroids and diamonds mark the exact updated means.

old squaresnew diamonds\text{old squares}\rightarrow\text{new diamonds}
One plotted stepOld centroids and updated exact means are shown together.one exact centroid updateold c1=(1,1)old c2=(7,7)new c1=(2/3,2/3)new c2=(20/3,20/3)squares are old centroids; diamonds are exact means after one update

What moves

The left centroid moves from (1, 1) to (2/3, 2/3). The right centroid moves from (7, 7) to (20/3, 20/3).

c1,c2 are exact meansc_1',c_2'\text{ are exact means}
One plotted stepOld centroids and updated exact means are shown together.one exact centroid updateold c1=(1,1)old c2=(7,7)new c1=(2/3,2/3)new c2=(20/3,20/3)squares are old centroids; diamonds are exact means after one update

Summary

This is one plotted assignment-and-update step. The plot is not an iteration history.

one step only\text{one step only}
One plotted stepOld centroids and updated exact means are shown together.one exact centroid updateold c1=(1,1)old c2=(7,7)new c1=(2/3,2/3)new c2=(20/3,20/3)squares are old centroids; diamonds are exact means after one update