A quadrupolar static magnetic field used as a phase object in a Stern-Gerlach atom interferometer produces phase shifts proportional to the distance to the zero-field line. As a consequence the transverse intensity profile of the atomic beam beyond the interferometer is modulated by an interference pattern which is a ``phase portrait'' of the field configuration. This pattern---a central bright spot surrounded by annular fringes---can be translated as a whole in any transverse direction by adding a homogeneous field to the quadrupolar field. These effects have been investigated experimentally with a beam of metastable hydrogen atoms ${\mathrm{H}}^{*}(2s),$ either by measuring the atom flux through a fixed slit or by scanning the beam profile through a movable hole. The results are in good agreement with the theoretical predictions.