| New in Wolfram Mathematica 6: Exploratory Data Analysis | ◄ previous | next ► |
In[1]:= | Graphics[Module[{r = RandomReal[1, {1000, 2}], nf},
nf = Nearest[r -> Automatic];
GraphicsComplex[r,
Table[{Line[Thread[{n, nf[r[[n]], 5]}]], Red, Point[n]}, {n,
1000}]]]] |
Out[1]= ![]() | ![]() |