added some more functionality to lines and axes