On Sat, Nov 21, 2009 at 7:09 AM, Carlos Ricardo Santos < carlosricardosan...@gmail.com> wrote:
> > >> >> Obviously I can't use that number in font-size (150pt is too big) and >> I have to make a proportion (150 -> 20pt, 1 -> 5pt, 50 ~>10pt and so >> on). >> >> How can I accomplish that? >> >> What you need is called data normalization - fitting data to a desired scale - in statistics and analysis. Here's a general page about normalization: http://www.qsarworld.com/qsar-statistics-normalization.php I'd imagine that there's a Python library or module that will do this for you, but it's not hard to write your own. Nick -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.