added style function to axis