Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2004
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2004

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

Search the Archive

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


  • Prev by Date: debugger woes with MathLink r12 on Windows: "The breakpoint will not currently be hit."
  • Next by Date: Re: Bug? Wrong result from infinite sum.
  • Previous by thread: RE: In Plot, horizontal range is reduced depending on PlotRange
  • Next by thread: [Bug] v5, kernel crash from NullSpace