MathGroup Archive 2007

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

Search the Archive

Re: Plot boundaries not respected


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