Parametrized the pseudo log scaling code,  --->

can now tweak # of samples per decade in editor.