I am working on a MATLAB script that iterates over several values and the code is attached. For some reason it doesn't see semiology. If I plot each value of r individually, but within the script it just gives me a linear scale. A bug?
Thehold on command is the culprit... you're issuing it before you plot, so the linear axis is being held throughout. If you move the hold command after the first call tosemilogx, it should work as intended.