Major and minor ticks
Demonstrate how to use major and minor tickers.
The two relevant classes are Locators and Formatters. Locators
determine where the ticks are, and formatters control the formatting of tick
labels.
Minor ticks are off by default (using NullLocator and NullFormatter).
Minor ticks can be turned on without labels by setting the minor locator.
Minor tick labels can be turned on by setting the minor formatter.
places ticks on multiples of some base. uses a format string (e.g., or or ) to format the tick labels (the variable in the format string must be ). For a , the string can be passed directly to or . An appropriate will be created and used automatically.

