Blogoforum - blog+forum on blogoforum and math http://blogoforum.com/tag/blogoforum+math Talk about blogoforum and math Tag Cloud Makeup Thanks to Automatthias http://blogoforum.com/tag/blogoforum+logarithm+math+programming+size+tagcloud+tagging/tag-cloud-makeup-thanks-to-automatthias-3336.html Now that was valuable! I slightly modified the formula to take in account min of values like <code>int((pmax - pmin) * (log(x - vmin)) / (log(vmax - vmin)) + pmin)</code> and filter out situations like log(0) and log(1) . Take a look at Blogoforum clouds now! If you can, please tell us how did you get to that formula. Thanks Automatthias! - 1 reply Mon, 18 Sep 2006 07:29:28 GMT http://blogoforum.com/tag/blogoforum+logarithm+math+programming+size+tagcloud+tagging/tag-cloud-makeup-thanks-to-automatthias-3336.html RE: Tag Cloud Makeup Continued http://blogoforum.com/tag/blogoforum+math+sizes+suggestion+tagcloud+tagging/re-tag-cloud-makeup-continued-3320.html I have to write it for you, because I haven't read it anywhere, I just constructed the equation myself. Here you go: Let's say you want your your tags in sizes from 1 to 10, according to their counts. I'll use pseudocode here. You define boundaries: pmin <- 1 pmax <- 10 Then you calculate the min and max values from your tags: vmin <- min(values) vmax <- max(values) Now, let's say you have a tag with 'x' occurences. The log-size of your tag is: int((pmax - pmin) * (log(x)) / (log(vmax)) + pmin) - 1 reply Mon, 18 Sep 2006 03:14:39 GMT http://blogoforum.com/tag/blogoforum+math+sizes+suggestion+tagcloud+tagging/re-tag-cloud-makeup-continued-3320.html Tag Cloud Makeup Continued http://blogoforum.com/tag/blogoforum+math+suggestion+tagcloud+tagging/tag-cloud-makeup-continued-3294.html Thanks Automatthias for the suggestion! Blogoforum now filters the least important tags. Please tell me where I can read about how to apply a logarithmic function to the tag sizes. - 1 reply Sun, 17 Sep 2006 19:19:39 GMT http://blogoforum.com/tag/blogoforum+math+suggestion+tagcloud+tagging/tag-cloud-makeup-continued-3294.html RE: Tag Cloud Makeup http://blogoforum.com/tag/blogoforum+tagcloud+tagging/re-tag-cloud-makeup-3080.html What I dislike about current tagclouds is that there is ONE HUGE TAG, and 90% of the remainig tags are very small. It looks like the cloud is 90% trash. I suggest: - Filtering out the least frequent tags - Applying a logarightm function to the tag sizes. It will reduce the graphical domination of the most frequent tags. I did it with my project: http://automatthias.wordpress.com/2006/07/26/size-and-color/ and it works fine. - 2 replies Sun, 17 Sep 2006 09:27:13 GMT http://blogoforum.com/tag/blogoforum+tagcloud+tagging/re-tag-cloud-makeup-3080.html