A method for imaging a biological body under medical examination in an aircore by applying gradient magnetic fields and RF pulses in a static magnetic field to cause a magnetic resonance (MR) for creating an MR image of said biological body on a plane where said magnetic resonance takes place, said gradient magnetic fields being induced by gradient magnetic field generating means which is driven by a first drive current, wherein
- an eddy current field compensating current is superimposed on said first drive current in order to compensate the deformation of said gradient magnetic field due to eddy current generated in response to application of said gradient magnetic field, and
- vibrating-field compensating current is superimposed on said first drive current in order to compensate the deformation of said gradient magnetic field due to vibration of a conductor portion in the vicinity of said aircore.