Wrote rotator-fig function!