MathGroup Archive 2007

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

Search the Archive

Re: Plot boundaries not respected

  • To: mathgroup at smc.vnet.net
  • Subject: [mg83002] Re: Plot boundaries not respected
  • From: Jean-Marc Gulliet <jeanmarc.gulliet at gmail.com>
  • Date: Tue, 6 Nov 2007 03:49:04 -0500 (EST)
  • Organization: The Open University, Milton Keynes, UK
  • References: <fgmqi1$a4c$1@smc.vnet.net>

Bert Aerts (rm x) wrote:

> When I type the following in Mathematica 6.0.1 Linux x86_64 version
> Plot[Exp[x], {x, -10, 2}]
> I get a plot to y-axis value 2.2 in stead of Exp[2]=7.4
> Why are the plot boundaries not respected?

To render a graph, Mathematica uses an adaptive algorithm that chooses 
the region of most interest, region that may be smaller than than the 
all range of the plot.

Use the option PlotRange -> All to get the full range of points.

Plot[Exp[x], {x, -10, 2}, PlotRange -> All]

Regards,
-- 
Jean-Marc



  • Prev by Date: Re: Plot boundaries not respected
  • Next by Date: Re: Plot boundaries not respected
  • Previous by thread: Re: Plot boundaries not respected
  • Next by thread: Re: Plot boundaries not respected