Re: LogLogPlot encounters Infinite expression
- To: mathgroup at smc.vnet.net
- Subject: [mg126168] Re: LogLogPlot encounters Infinite expression
- From: "Dr. Wolfgang Hintze" <weh at snafu.de>
- Date: Sun, 22 Apr 2012 06:07:43 -0400 (EDT)
- Delivered-to: l-mathgroup@mail-archive0.wolfram.com
- References: <jmtdbf$sj1$1@smc.vnet.net>
On 21 Apr., 06:33, John_V <jvillar.j... at gmail.com> wrote: > If I try this: > > f[x_] = Piecewise[{{0, x < 10}}, Exp[x/20]] > LogLogPlot[1/f[x], {x, 11, 20}] > > the result is an error message (Infinite expression 1/0 encountered) and a > plot that has axes but no graph. > > Notice that although 1/f is indeed 1/0 for x<10, the requested plot range > does not include x<10. The function is well-defined within the requested > plot range. Does anyone know what's going on with this? > > John > > P If I prepend the command In[1]:= << "Graphics`Graphics`" everything works out fine in version 5.2 Regards, Wolfgang