Plot points based on distance

edited October 2013 in How To...

Hi all,

I have the following problem: I have n points and I have distances between them. I would like to draw them in 3D (or 2D for the time being).

I can start calculating coordinates of each point (take 1st point as (0,0), 2nd point as (x_2, 0) and calculate (x_3, y_3) from the triangles, and so one, for all points, choosing + or -), right?. Before starting to dig into that I would like to understand whether there is something already out there that could make my life easier. I do not much care about the exact rotation, so I just need to plot them.

I guess I need something like cmdscale from matlab.

Thanks in advance for support! Nune


Sign In or Register to comment.