Assume there are 3 locations on the x-axis with spin.
Magnetization vectors from the 3 locations after a 90o pulse.




Parts:
90o slice selective pulse
slice selection gradient
phase encoding gradient
frequency encoding gradient
signal
TR = repetition time

| Gradient | |||
|---|---|---|---|
| Slice Plane | Slice | Phase | Frequency |
| XY | Z | X or Y | Y or X |
| XZ | Y | X or Z | Z or X |
| YZ | X | Y or Z | Z or Y |


Z = Dn / g Gs
where:
Dn = frequency offset from no
( i.e. n - no )
Gs = magnitude of slice selection gradient
g = gyromagnetic ratio





The phase of a vector was set by the phase encoding gradient pulse.

