"Two of these three points are coincident"

Hi,

Plotting a TGraph2D generated by the attached macro issues a lot of warnings.

How can I avoid this?

Thank you in advance.
test.C (22.2 KB)

The message telle you the answer.
You have points with the same X and Y values.