how can I represent 4 dimensional data in 3 dimensions(RGB) or 2 dimensions(XY grid) [closed]
I want to represent 4 dimensional data in RGB colors so that when clustering is done similar nodes have similar colors or by position on an XY grid. how can this be done?
4d? like 3d data with the time dimension?
Anyway, it depends on what technology we're talking about. It sounds like you would need a 3d scatter chart with your fourth dimension being a selection control such as a slider that changes the time. You could use WPF w/ silverlight if you want to display it on a site but I'm sure a variety of technologies can be used to get the same result. You'll need to modify most common solutions to get the similar colors according to position. Statistical algorithms like k-means is usually suited for clustering data together.
Let the four dimensions be w
,x
,y
,z
.
There will only be 3 axis:
- make
x
as the no. of degrees it is farther fromx
axis - similarly, put the value of
y
as the no. of degrees it is parallel toy
axis. - do the same with
z
.
w
represents how far the point is from the origin of the chart.
Alternatively, you may simply use a Radar Chart.
精彩评论