Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.soft-sys.math.mathematica > #7264
| From | AntonioP <ant.piniz@gmail.com> |
|---|---|
| Newsgroups | comp.soft-sys.math.mathematica |
| Subject | Mathematica LogPlot Bug |
| Date | 2011-12-16 10:58 +0000 |
| Organization | Steven M. Christensen and Associates, Inc and MathTensor, Inc. |
| Message-ID | <jcf890$6t1$1@smc.vnet.net> (permalink) |
Hello,
I have to draw some functions in log scale, but LogPlot seems not to
be able to draw them correctly if the y-value is too small.
A simple case:
f[x_] = 10^(-5 x)
LogPlot[f[x], {x, 1, 100}, PlotRange -> Full]
the plot should be a simple straight line for any x value,
while at about x=61.5 there is a step and, for any greater value of x,
the function appears to be constant.
Nevertheless, Mathematica is able to compute the correct value of f[x]
for any x:
N[f[60]]
N[f[65]]
N[f[80]]
N[f[100]]
There is a similar problem for large y-values, as well.
Apparently there is a y-range, about (10^-308, 10^308), outside which
LogPlot doesn't work correctly.
Any idea on how to resolve the problem?
Thanks,
Antonio
Back to comp.soft-sys.math.mathematica | Previous | Next — Next in thread | Find similar | Unroll thread
Mathematica LogPlot Bug AntonioP <ant.piniz@gmail.com> - 2011-12-16 10:58 +0000
Re: Mathematica LogPlot Bug "Oleksandr Rasputinov" <oleksandr_rasputinov@hmamail.com> - 2011-12-17 07:55 +0000
Re: Mathematica LogPlot Bug AntonioP <ant.piniz@gmail.com> - 2011-12-20 08:03 +0000
csiph-web