The integral characteristics of magnetization switching in amorphous gadolinium-cobalt films with perpendicular anisotropy are studied by visualizing the domain structure and measuring magnetooptic hysteresis loops. The films have a radial gradient of magnetic properties that is due to a spatially nonuniform thermal field. Magnetization switching in those film areas where the domain wall motion depends only on the coercive force is simulated in simple terms. In a first approximation, local events of magnetization switching are shown to take place independently of each other and the net hysteresis loop can be represented as a sum of the local loops.