Skip to main content

Timeline for Unexpected breaks in a smooth plot

Current License: CC BY-SA 4.0

9 events
when toggle format what by license comment
Mar 3, 2019 at 23:46 comment added MikeY In particular, you have a term that you take the ArcTanh of that appears to always be Sqrt[(1 - 2 pp)^2 + 4 xx^2] = 1. This accounts for most of the Indeterminate results (but not all) and is in the end of your function.
Mar 3, 2019 at 23:20 comment added Michael E2 You've got a Log[0.] or two, plus some ArcTanh[1.], all of which evaluate to Indeterminate. Maybe these are suppose to cancel out, but they're too complicated for even Mathematica to figure it out. Try Trace[ myfun[0, 0.4, 0.5, 1], _Log ]
Mar 3, 2019 at 21:44 history edited MikeY CC BY-SA 4.0
Convert symbols
Mar 3, 2019 at 9:32 history edited Roman CC BY-SA 4.0
deleted 614 characters in body
Mar 3, 2019 at 9:32 comment added Roman It looks like your function is actually Indeterminate for all values of t, I suspect because of a 0/0 division. The reason why you get at least some points plotted is because of numerical luck. Maybe simplifying your formula for myfun could help: use Simplify, FullSimplify, etc.
Mar 3, 2019 at 9:12 history edited H. Kenan CC BY-SA 4.0
deleted 16 characters in body
Mar 3, 2019 at 9:09 comment added H. Kenan Thanks, @Roman. This does not work, unfortunately.
Mar 3, 2019 at 8:55 comment added Roman Have you tried the Exclusions->None option?
Mar 3, 2019 at 8:26 history asked H. Kenan CC BY-SA 4.0