Re #4 - Cannot handle negative values

Improved the formatting of default major ticks so that the format
of major ticks can be different form the format of the digital numbers.