basic adaptation of axes based on data