Suppose you are plotting a function
Plot[f[x],{x,0,10}]
Where
f[x]=NIntegrate[g[x,t],{t,Tmin,Tmax}].
and when plotting, the warning message
NIntegrate::ncvbNIntegrate failed to converge to prescribed accuracy after N
recursive bisections in t near {t} = c. NIntegrate obtained *number*
and *other number* for the integral and error estimates
is printed (typically once). Unfortunately, it doesn't seem obvious for which value(s) of x
the problem appears.
Is there a way to tell on which range of x
your plot is reliable?
In case of a DensityPlot
it can even be harder to estimate the validity domain.
It would be great if there were for example a possibility for Mesh->All
to draw the badly convergent points in a different color.
SetDelayed
and notSet
, i.ef[x_]:=NIntegrate...
. See here: mathematica.stackexchange.com/questions/18393/… $\endgroup$ – yohbs Jan 27 '17 at 14:44