enabling coordinate-axis switch