Let's say I decide I want all my axes to be colored red, so I do
SetOptions[Plot,AxesStyle->Red]
For the remainder of my session, I correctly get
Options[Plot,AxesStyle]
(* {AxesStyle->Red} *)
But when I quit and subsequently reload MMA, I get
Options[Plot,AxesStyle]
(* {AxesStyle -> {}} *)
For how long are changes made by SetOptions supposed to persist? I (apparently incorrectly) understood that these changes were supposed to persist across sessions (i.e., permanent). I thought if you wanted such changes to persist only for the current session, you needed to use something like $FrontEndSession.
SetOptions[symb,rule]to a kernel Init.m file would make the change persist across sessions? Not sure if that's a best practice, but it seems it would work. – bmclaurin Oct 09 '21 at 19:24init.m, then forget it, and it takes a long time to figure out the cause of a problem they are posting about. If you want to change multiple such options, put the changes in a package, and load that package manually when you need it. – Szabolcs Oct 09 '21 at 20:21