Mathematica 9 is now available
Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2010

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

Search the Archive

Graphics: How to get values corresponding to Automatic?

  • To: mathgroup at smc.vnet.net
  • Subject: [mg113543] Graphics: How to get values corresponding to Automatic?
  • From: kj <no.email at please.post>
  • Date: Tue, 2 Nov 2010 05:00:27 -0500 (EST)

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


  • Prev by Date: Numerical simulation
  • Next by Date: Re: EventHandler vs ControllerState
  • Previous by thread: Re: Numerical simulation
  • Next by thread: Re: Graphics: How to get values corresponding to Automatic?