Let's say I always want graphics to appear a certain way, so I put commands to set graphic preferences in my startup.m file. I have seen some suggestions where these commands are implemented as
and some where they are implemented as
Based on the documentation for groot and this answer, I think they are interchangable, and the graphic preference will be implemented for any figure I make in the current matlab session, but not in future Matlab sessions unless I re-run them in startup. Is this right? I also think "set(0,..." is just an older implementation of groot, which is why I can't find in in the documentation.