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?
I tried the code that you have mentioned. It works perfectly on my local scilab as well as on https://cloud.scilab.in/
That is strange!
I tried the cloud and it does work there! Very nice example.
I made a mistake and posted this message several times. I can find no way to delete the replica messages. There is a way in other forums. Maybe the administrator can clean up this mess.