We're a community of 1077K IT Pros here for help, advice, solutions, professional growth and fun. Join us!
1,076,154 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Start New Discussion Reply to this Discussion
Hi guys, I have a difficult problem to solve. I have a list with 4 columns of values as follow 750.633 379.039 652.524 1112.63 930.491 452.16 842.753 1191.78 882.063 446.411 787.56 1183.43 434.362 410.174 325.863 1145.34 954.426 445.297 865.449 1183.74 1233.67 194.909 1155.27 908.305 1505.97 917.95 1441.07 1698.01 852.882 133.219…

The funny thing is that this completely destroys the distribution of the data making it look uniformly distributed, when it actually is not as minimum distance between data points is maximized.

pyTony
pyMod
Moderator
6,308 posts since Apr 2010
Reputation Points: 879
Solved Threads: 986
Skill Endorsements: 26

I'm sorry but I lost it

giancan
Junior Poster in Training
61 posts since Oct 2011
Reputation Points: 10
Solved Threads: 0
Skill Endorsements: 0

The funny thing is that this completely destroys the distribution of the data making it look uniformly distributed, when it actually is not as minimum distance between data points is maximized.

Here are scatter plots of input of output obtained with gnuplot in a linux terminal

$ gnuplot
gnuplot> set terminal png
Terminal type set to 'png'
gnuplot> set output 'figoutput.png'
gnuplot> plot "output.txt" using 1:2
gnuplot> quit

The algorithm seems to work nicely and indeed, it destroys the distribution of the data but keeps the global geometric shape of the cloud.

Attachments figinput.png 6.75KB figoutput.png 3.23KB
Gribouillis
Posting Maven
Moderator
3,101 posts since Jul 2008
Reputation Points: 1,130
Solved Threads: 761
Skill Endorsements: 11

This article has been dead for over three months: Start a new discussion instead

Post: Markdown Syntax: Formatting Help
 
You
View similar articles that have also been tagged:
 
© 2013 DaniWeb® LLC
Page rendered in 0.0874 seconds using 2.64MB