I would like for a script not to close a plot window. The best I could find online was using the pause() function, which is sorta crappy (compared to having the user actually close the window). Please tell me if you know a better way.
e.g. save the following to a .m file, and execute plot([0:0.1:1], [0:0.1:1])