If I take out the sgrid() above and run the code I get a very good root locus plot! But if I run the above code with sgrid() included a momentary flicker of the root locus plot is shown and is then overwritten by the sgrid plot and the original root locus plot disappears! The example shows a different result! Both plots at the same time. How so I fix this?
Hi, sgrid() helps superimpose s-plane grid lines on the existing plot. I tried your code with and without sgrid and it works. Not sure why would you get different plots. Please share your plots for comparison.