Mathematica 9 is now available
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
SEE THE DOCUMENTATION CENTER FOR THE LATEST INFORMATION.
Mathematica > Options Management >

Options

Options[symbol]
gives the list of default options assigned to a symbol.
Options[expr]
gives the options explicitly specified in a particular expression such as a graphics object.
Options[stream] or Options["sname"]
gives options associated with a particular stream.
Options[object]
gives options associated with an external object such as a NotebookObject.
Options[obj, name]
gives the setting for the option name.
Options[obj, {name1, name2, ...}]
gives a list of the settings for the options namei.
  • Many built-in functions allow you to give additional arguments that specify options with rules of the form name->value.
  • Options[f] gives the list of rules to be used for the options associated with a function f if no explicit rules are given when the function is called.
  • Options always returns a list of transformation rules for option names.
  • You can assign a value to Options[symbol] to redefine all the default option settings for a function.
  • SetOptions[symbol, name->value] can be used to specify individual default options.
  • If you ask for Options[NotebookObject[...], name] the kernel will send a request to the front end to find the result.
  • Explicit values are found for options associated with cells even if these options are only set at the style, notebook or global level.
Get the list of options for the LinearSolve function:
In[1]:=
Click for copyable input
Out[1]=
 
Define the default options of f:
In[1]:=
Click for copyable input
Define f to use the options:
In[2]:=
Click for copyable input
In[3]:=
Click for copyable input
Out[3]=
New in 1 | Last modified in 3
© 2013 Wolfram Research, Inc. Japanese
Ask a question about this page  |  Suggest an improvement  |  Leave a message for the team