WLJS LogoWLJS Notebook

Options

Options[symbol] gives the list of default options for a function. Options[expr] extracts options from an expression.

Examples

Inspect function options:

(* Default options for Plot *)
Options[Plot]
(* {AlignmentPoint -> Center, AspectRatio -> 1/GoldenRatio, ...} *)

(* Get specific option *)
Options[Plot, PlotRange]
(* {PlotRange -> {Full, Automatic}} *)

(* Options from a graphics object *)
g = Graphics[Circle[], Frame -> True]
Options[g, Frame]

Please visit the official Wolfram Language Reference for more details.

On this page