in reply to Data visualisation.
Are you even sure that the data is euclidian or even metric, i.e. projectable into a plane???
In general thats not solvable, if not!!!
(first imagine the problems from projecting distances from a spheric surface like the globe (which is still possible) and then think about randomly generated distances...)
If they are metric euclidean you can start choosing freely point A, then B in a circle surrounding A, then C on one of the two crosspoints of the circles surrounding A and B.¹ From there on all other points are determined by the distances from A,B and C.³
After this you just need to transform the points (moving, rotating) to fit into a desired window.²
Then you are free to plot with the technology of your liking (Tk, SVG, graphviz,...)
HTH!
Cheers Rolf
( addicted to the Perl Programming Language)
²) see Clipping_(computer_graphics)
³) and at least now it should be obvious why random distances to other points will fail.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Data visualisation. (updated)
by roboticus (Chancellor) on Jan 02, 2014 at 13:00 UTC | |
by LanX (Saint) on Jan 02, 2014 at 13:17 UTC | |
| A reply falls below the community's threshold of quality. You may see it by logging in. |