Blogoforum - blog+forum on blogoforum and logarithm http://blogoforum.com/tag/blogoforum+logarithm Talk about blogoforum and logarithm 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