Services & Resources / Wolfram Forums / MathGroup Archive

MathGroup Archive 2012

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

Search the Archive

LogLogPlot encounters Infinite expression

  • To: mathgroup at
  • Subject: [mg126156] LogLogPlot encounters Infinite expression
  • From: John_V <jvillar.john at>
  • Date: Sat, 21 Apr 2012 00:32:03 -0400 (EDT)
  • Delivered-to:

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?


  • Prev by Date: Re: Encode and Get
  • Next by Date: Re: How to change graph options?
  • Previous by thread: function Get, but, returning all evaluated expression
  • Next by thread: Re: LogLogPlot encounters Infinite expression