set axis to increase from min to max or decrease max to min