Utility model in order to demonstrate the plotting of a root locus:
This model consists of a linear, time invariant single-input, single-output plant "zerosAndPoles" that is controlled by a P-Controller with a constant gain k. The pole/zero pattern of the plant is shown in the next figure: