This is documentation for Mathematica 7, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.1)

SetOptions

SetOptions[s, name1->value1, name2->value2, ...]
sets the specified default options for a symbol s.
SetOptions[stream, ...] or SetOptions["name", ...]
sets options associated with a particular stream.
SetOptions[object, ...]
sets options associated with an external object such as a NotebookObject.
  • SetOptions is equivalent to an assignment which redefines certain elements of the list Options[s] of default options.
  • If you use SetOptions[NotebookObject[...], ...] the kernel will send a request to the front end which will immediately make the change specified.
Reset the default precision for HilbertMatrix:
Now HilbertMatrix uses machine numbers by default:
A specific option setting overrides the new default:
Restore the system default:
Change the style for plots to use dashed curves:
Restore the system default:
Reset the default precision for HilbertMatrix:
In[1]:=
Click for copyable input
Out[1]=
Now HilbertMatrix uses machine numbers by default:
In[2]:=
Click for copyable input
Out[2]=
A specific option setting overrides the new default:
In[3]:=
Click for copyable input
Out[3]=
Restore the system default:
In[4]:=
Click for copyable input
 
Change the style for plots to use dashed curves:
In[1]:=
Click for copyable input
In[2]:=
Click for copyable input
Out[2]=
Restore the system default:
In[3]:=
Click for copyable input
New in 1 | Last modified in 3