Magnetic phase diagram