Compass-like manipulation of electronic nematicity in Sr3Ru2O7