comment about  how the *4 comes 

in cr = min + (((x:real - 1)/(range:real)) * 4); its actally the length of the x- axis or y axis