Re: How to: PlotRange->{0, All} ?
- To: mathgroup at smc.vnet.net
- Subject: [mg17372] Re: How to: PlotRange->{0, All} ?
- From: colin at tri.org.au (Colin Rose)
- Date: Thu, 6 May 1999 02:44:01 -0400
- Organization: Theoretical Research Institute
- References: <7gfrl6$6eb@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
Matthias Georg Imhof wrote: > I am trying to figure out a way to modify plotrange that one could do: > > PlotRange->{zmin, All} > which would plot only between zmin and the max value. > Typically, one can only do: > PlotRange->All or > PlotRange->{zmin, zmax} > > Any ideas? Yup. First generate your plot: sss = Plot[Exp[-x] + 3, {x, 0, 10}, PlotRange -> All] Then, grab the MAX from the above using AbsoluteOptions, and then set your own Min setting. Here, MIN = 0: Show[sss, PlotRange -> {0, AbsoluteOptions[sss, PlotRange][[2, 2, 2]]}]; Cheers Colin -- Colin Rose tr(I) - Theoretical Research Institute __________________________________________ colin at tri.org.au http://www.tri.org.au/