in reply to number scaling ?

Use GD::Graph module.