Functionised the tick locators and formatters. Also added x tick rotation option