Re: Graphics: How to get values corresponding to Automatic?
- To: mathgroup at smc.vnet.net
- Subject: [mg113599] Re: Graphics: How to get values corresponding to Automatic?
- From: "Sjoerd C. de Vries" <sjoerd.c.devries at gmail.com>
- Date: Thu, 4 Nov 2010 03:59:17 -0500 (EST)
- References: <iaong1$jeo$1@smc.vnet.net>
AbsoluteCurrentValue[g, ImageSize] works for me, but I'm at loss as to why AbsoluteOptions doesn't work. Perhaps the documentation should be improved. Shall we start a thread on that? ;-) Cheers -- Sjoerd On Nov 2, 11:00 am, kj <no.em... at please.post> wrote: > Consider the following example. > > In[1]:= g = Plot[Sin[y], {y, 0, 6 Pi}]; > > In[2]:= ImageSize /. FullOptions[g] > Out[2]:= Automatic > > How can I determine the *number* X (!= Automatic) such that the > graphic generated by Plot[Sin[y], {y, 0, 6 Pi}, ImageSize->X] looks > identical to g as defined in In[1]? > > More generally, for any option that accepts Automatic as a possible > value, how can I determine the whether there exists some value X > (distinct from Automatic) such that specifying X as the value of > this option would produce exactly the same results as specifying > Automatic, and if so, how can I determine this value? > > Thanks! > > ~kj