Rotating data axes with nmrPipe
From NMR Wiki
Combinations of functions TP - transpose X&Y - and ZTP - transpose Z and Y - will rotate data. There are also options for xyz2pipe and pipe2xyz that allow data rotation, but perhaps TP and ZTP are easier to understand.
For example, this script will exchange Y and Z axes in 3D data.
xyz2pipe -in ft/test%03d.ft3 \ | nmrPipe -fn TP \ | nmrPipe -fn ZTP \ | pipe2xyz -out ft/rot%03d.ft3