FullOptions
Usage Message: FullOptions[expr] gives the full settings of options explicitly specified in an expression such as a graphics object. FullOptions[expr, name] gives the full setting for the option name. FullOptions[expr, {name1, name2, ... }] gives a list of the full settings for the options namei. FullOptions[object] gives the full settings for options associated with an external object such as a NotebookObject. Attributes[FullOptions] = {Protected, ReadProtected} Notes:
For Graphics3D, DensityGraphics,
ContourGraphics, and Sound objects, FullOptions
will not give the explicit options for many options.
In[1]:= cp = ContourPlot[Sin[x y], {x, -5, 5}, {y, -5, 5}];

Some options can be found explicitly.
In[2]:= {Options[cp, PlotRange],FullOptions[cp, PlotRange]}
Out[2]= {{PlotRange -> Automatic},
{{-5.2, 5.2}, {-5.2, 5.2}, {-1.04915, 1.04915}}}
Others do not return explicit options.
In[3]:= {Options[cp, FrameTicks],FullOptions[cp, FrameTicks]}
Out[3]= {{FrameTicks -> Automatic},Automatic}
If the option is relevant to Graphics, you can
convert to
Graphics and then use FullOptions.
In[4]:= Short[FullOptions[Graphics[cp], FrameTicks], 3]
Out[4]//Short=
{{{-4., -4., {0.00625, 0.}, {GrayLevel[0.], AbsoluteThickness[0.25]}},
<<19>>, {5., "", {0.00375, 0.}, {GrayLevel[0.],
AbsoluteThickness[0.125]}}}, <<2>>, {<<1>>}}
Additional Online Documentation:
http://documents.wolfram.com/v3/RefGuide/FullOptions.html
Questions or comments? Send email to support@wolfram.com.
| |