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