Re: In Plot, horizontal range is reduced depending on PlotRange

*To*: mathgroup at smc.vnet.net*Subject*: [mg49647] Re: In Plot, horizontal range is reduced depending on PlotRange*From*: Bill Rowe <readnewsciv at earthlink.net>*Date*: Mon, 26 Jul 2004 04:01:51 -0400 (EDT)*Sender*: owner-wri-mathgroup at wolfram.com

On 7/25/04 at 2:55 AM, alain at geophysik.uni-muenchen.de (Alain Cochard) wrote: >Yes, this I new, and what I wanted was to have the horizontal range >displayed from 0 to 1. I thought that using {t,0,1} was precisely >supposed to accomplish that (it indeed does it if I don't specify >any PlotRange), and not from 0 to about 0.53, as I described in my >initial message. >Now, using 2 ranges in PlotRange, as you suggest (this, I didn't >know) does want I want: >Plot[Exp[-10000 t^2], {t, 0, 1}, PlotRange -> {{0, 1}, {-.5, 1}}]; >So I still have the question: is it normal that Mathematica can >overrule my {t,tmin,tmax} specification. Yes, it is normal for Mathematica to display a graphic differently than might be expected from the (t, tmin, tmax} specification. But I would not refer to this as Mathematica overruling your specification. The {t, tmin, tmax} specification specifies the plot variable and the range over which the function is to be sampled. It does not specify the display range for the resulting graphic. The PlotRange specification specifies the display range of the graphic. The default setting for PlotRange is Automatic. With this setting, Mathematica adjusts the display so that features considered "interesting" may be more easily seen. The simplest way to get Mathematica to display the entire range sampled is to specify PlotRange->All. In fact, if you prefer this to be the default you can set it up that way in one of the init.m files Mathematica executes on startup. -- To reply via email subtract one hundred and four