Added option to do scalar formatting with log scales.