Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #7326

LogLinearPlot Nintegrate and a strange error message

Path csiph.com!x330-a1.tempe.blueboxinc.net!newsfeed.hal-mli.net!feeder3.hal-mli.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!border3.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx02.iad01.newshosting.com!newshosting.com!newsfeeds.sol.net!post2.nntp.sol.net!posts.news.twtelecom.net!nnrp3.twtelecom.net!not-for-mail
From Artur Henrykowski <mantysa@gmail.com>
Newsgroups comp.soft-sys.math.mathematica
Subject LogLinearPlot Nintegrate and a strange error message
Date Sun, 18 Dec 2011 09:37:28 +0000 (UTC)
Organization Steven M. Christensen and Associates, Inc and MathTensor, Inc.
Sender steve@smc.vnet.net
Approved Steven M. Christensen <steve@smc.vnet.net>, Moderator
Message-ID <jckc8o$1kq$1@smc.vnet.net> (permalink)
Lines 35
NNTP-Posting-Date 18 Dec 2011 08:42:15 GMT
NNTP-Posting-Host ce2d724c.news.twtelecom.net
X-Trace DXC=2laFO]Qn@nbfMDbMQQNgfbC_A=>8kQj6m=_1NR_H?JPmH<[keBa3DFeEFiONJ7[Gof\X\0UD\<akb
X-Complaints-To abuse@twtelecom.net
Xref x330-a1.tempe.blueboxinc.net comp.soft-sys.math.mathematica:7326

Show key headers only | View raw


Hello,

I noticed a strange behavior of Mathematica (version 7). I have no
much experience in using it so probably there is something what I do
not know (nor understand).

I want to plot some function which is defined as integral, e.g.

f := NIntegrate[(Sinc[1/x*u]), {u, 0, 1}]

then I plotted it
Plot[f, {x, 1, 2}]

and it seems to be ok.

But when I changed the function to LogLinearPlot

datax = Reap[LogLinearPlot[f, {x, 1, 2}, EvaluationMonitor :> Sow[x]]]

I obtained error message: "NIntegrate::ncvb:"NIntegrate failed to
converge to prescribed accuracy after..." or other similar (e.g.
Converge to slowly...) depending on function.

But when I explicitly calculate values of function at points x of
LogLinearPlot

f /. {x -> datax}

there is no error message.

Why do I obtain this this message after calling LogLinearPlot but not
in other cases? Are these values and plots reliable?

Artur

Back to comp.soft-sys.math.mathematica | Previous | Next | Find similar | Unroll thread


Thread

LogLinearPlot Nintegrate and a strange error message Artur Henrykowski <mantysa@gmail.com> - 2011-12-18 09:37 +0000

csiph-web