MathGroup Archive 2000

[Date Index] [Thread Index] [Author Index]

Search the Archive

RE: Why Does AbsoluteOptions Not Tell about all Automatic?


Hi Adalbert,

For some reason Mathematica does not like the ContourGraphics. It seems to
work if you convert the plot to Graphics:

p1 = ContourPlot[Sin[x]Sin[y], {x, -3, 3}, {y, -3, 3}];

AbsoluteOptions[Graphics[p1], PlotRange]
{PlotRange -> {{-3.15, 3.15}, {-3.15, 3.15}}}

David Park
djmp at earthlink.net
http://home.earthlink.net/~djmp/

> -----Original Message-----
> From: Adalbert Hanssen [mailto:hanssen at Zeiss.de]
To: mathgroup at smc.vnet.net
>
> Hi, MathGroup,
>
> according to the online help:
>
> 	"AbsoluteOptions[expr] gives the absolute
> 	settings of options specified in an
> 	expression such as a graphics object.
> 	AbsoluteOptions[expr, name] gives the
> 	absolute setting for the option name.
> 	AbsoluteOptions[expr, {name1, name2, ... }]
> 	gives a list of the absolute settings for the
> 	options namei.
> 	AbsoluteOptions[object] gives the absolute
> 	settings for options associated with an
> 	external object such as a NotebookObject."
>
> I have created a ContourGraphics and I want to
> see the actual used values for options
> which default to Automatic etc.
>
> I use (Out[230] is the ContourGraphics Object):
>
> AbsoluteOptions[%230]
>
> and get
>
> 	{... AxesOrigin -> Automatic, AxesStyle -> Automatic,
> 	 Background -> Automatic, ColorFunction -> Automatic, ...,
> 	 ColorOutput -> Automatic, ..., ContourStyle -> Automatic,
> 	 DefaultColor -> Automatic, ..., FrameStyle -> Automatic,
> 	 FrameTicks -> Automatic, ImageSize -> Automatic, ...
> 	 PlotRegion -> Automatic, ..., Ticks -> Automatic, ...
> 	}
>
> I put ...., where the options' settings were given.
> Why this? I thought, AbsoluteOptions gives the actual
> settings for options used internally by Mathematica
> when the setting given is Automatic or All!
>
>
> kind regards
>
> Dipl.-Math. Adalbert Hanszen
>
>



  • Prev by Date: Re: more wrong integrals
  • Next by Date: Problem using NIntegrate within FixedPoint
  • Previous by thread: Why Does AbsoluteOptions Not Tell about all Automatic?
  • Next by thread: Mathematica 3.0: reliability close to LogZero?