The one-dimensional classical planar model in an applied magnetic field