Re: How to: PlotRange->{0, All} ?
- To: mathgroup at smc.vnet.net
- Subject: [mg17456] Re: How to: PlotRange->{0, All} ?
- From: Ronald Albrecht <Ronald.Albrecht at lrz.uni-muenchen.de>
- Date: Sun, 9 May 1999 04:43:57 -0400
- Organization: KJP Muenchen
- References: <7gfrl6$6eb@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
Matthias Georg Imhof wrote: > > Hello, > > I am trying to figure out a way to modify plotrange that one could do: > > PlotRange->{zmin, All} or PlotRange->{All, zmax} which would plot only > between zmin and the max value or the min value and zmax. > > Typically, one can only do: > PlotRange->All or > PlotRange->{zmin, zmax} > > Any ideas? > > Matthias Imhof > -- > ************************************************************************** > * Matthias G.Imhof, Ph.D. phone: (540) 231 6004 * > * Derring Hall 4044 fax: (540) 231 3386 * > * Virginia Tech email: mgi at vt.edu * > * Blacksburg, VA 24061-0420 http://www.geol.vt.edu/profs/mgi * > * There is no dark side of the moon really. Matter of fact it's all dark * > ************************************************************************** There are already some answers to your question. Here is another: f[x_]:=Sin[x] lowlimit[x_,xmin_]:=If[x<xmin,,x] Off[Plot::plnr] Plot[lowlimit[f[x],0],{x,0,4 Pi//N},PlotRange->All,Axes->False] On[Plot::plnr] Ron