evans example problem

H=syslin('c',352*poly(-5,'s')/poly([0,0,2000,200,25,1],'s','c')); clf();evans(H,100);sgrid()

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?

Scilab 28-02-18, 10:12 a.m. maxcy

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.

16-12-18, 4:52 p.m. Inderpreet

Log-in to answer to this question.