Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.soft-sys.math.mathematica > #9734 > unrolled thread
| Started by | John_V <jvillar.john@gmail.com> |
|---|---|
| First post | 2012-04-21 04:33 +0000 |
| Last post | 2012-04-22 10:09 +0000 |
| Articles | 2 — 2 participants |
Back to article view | Back to comp.soft-sys.math.mathematica
LogLogPlot encounters Infinite expression John_V <jvillar.john@gmail.com> - 2012-04-21 04:33 +0000
Re: LogLogPlot encounters Infinite expression "Dr. Wolfgang Hintze" <weh@snafu.de> - 2012-04-22 10:09 +0000
| From | John_V <jvillar.john@gmail.com> |
|---|---|
| Date | 2012-04-21 04:33 +0000 |
| Subject | LogLogPlot encounters Infinite expression |
| Message-ID | <jmtdbf$sj1$1@smc.vnet.net> |
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
[toc] | [next] | [standalone]
| From | "Dr. Wolfgang Hintze" <weh@snafu.de> |
|---|---|
| Date | 2012-04-22 10:09 +0000 |
| Message-ID | <jn0lcp$4vi$1@smc.vnet.net> |
| In reply to | #9734 |
On 21 Apr., 06:33, John_V <jvillar.j...@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
[toc] | [prev] | [standalone]
Back to top | Article view | comp.soft-sys.math.mathematica
csiph-web