sign in | register

Blogoforum Blogoforum - RE: Tag Cloud Makeup Thanks to Automatthias

recent > blogoforum > tagging > tagcloud > math > logarithm, programming and size

[show older messages in this discussion]

RE: Tag Cloud Makeup Thanks to Automatthias

Yeah, it does look better now!

As for the minimum value -- yes, you're right. I've been tackling this equation for quite a long time, and this was what I've ended up with. I had a reason to remove the minimum value, but I can'r remember anymore what it was. I think it was just something about the look of the tag list in my case.

The log(0) and log(1) situations are present by default, I thought about removing them by shifting min and max a little bit:

vmin = min(values) - 0.5
vmax = max(values) + 0.5

But finally I just added some test against the 0 and 1 values and handled them by assigning pmin and pmax.

I'm glad I could help here.
by Automatthias
September 18, 2006 7:29 AM
+ add to your Readings [?]

Your Reply Your Reply

have your browser's cookies enabled
! You are not signed in. Sign in or Register to get the post published into your own blog.






(html will be shown as text)
Verification Image


type the characters you see in the picture above
Spam links posted here may be put into "spam" category which may result in your site rank decreased by Google

people think this discussion is about

wrong? assign your keywords [?]
Google

Explore Blogoforum - The Better Forum Experiment

Blogoforum is looking for UI Designer.

Tell the World

Blogoforum will become more useful as its user base grows. If you think the idea is interesting, bookmark it on del.icio.us and tell your friends.