MathGroup Archive 2010

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

Search the Archive

Re: detection of automatic range of plot?

  • To: mathgroup at smc.vnet.net
  • Subject: [mg107738] Re: detection of automatic range of plot?
  • From: Peter Pein <petsie at dordos.net>
  • Date: Thu, 25 Feb 2010 01:52:12 -0500 (EST)
  • References: <hm3230$m99$1@smc.vnet.net>

Am 24.02.2010 12:21, schrieb pippo p.:
> when you plot an unlimited function, mathematica chooses the vertical
> range's limits. could i detect which are the limits chosen by
> mathematica to use them? thanks
> giuseppe
>

AbsoluteOptions is your friend:

In[1]:= pl=Plot[BesselI[1,x],{x,0,5}];
In[2]:= 
Cases[AbsoluteOptions[pl],HoldPattern[PlotRange->pr_]:>pr[[2]],1,1][[1]]
Out[2]= {0.,24.3356}

Peter


  • Prev by Date: Re: detection of automatic range of plot?
  • Next by Date: Re: Date & Time format..
  • Previous by thread: Re: detection of automatic range of plot?
  • Next by thread: Re: Re: detection of automatic range of plot?