Re:Algorithm for nice graph labels
by treeform on Sunday March 21, 2010 @02:21AM
(#1207617)
I remember writing some thing like this for CairoPlot. I don't think the patch was excepted. If graphs involve programmers power of 2 numbers are also good numbers to use not only 0 and 5. Some questions that the algorithm does not answer what is a good number of ticks to put on a segment of X pixels? Also i am sure having phi some place in there would make it more pleasing. Has any one else though at length on the problem?
Re:Algorithm for nice graph labels
by dhotson on Sunday March 21, 2010 @06:26AM
(#1207789)
I had a go at something similar a while back for making numbers look 'nicer'. It's useful for when you have code that calculates a number, but you want to make it more marketing friendly.
Has there been anything like these centered around the web?
http://github.com/dhotson/fudge