Dec-09-2017, 06:25 PM
It is not a trivial mathematical expression you got there.
Instead of looking at the plot I would tackle this by inspecting calculations that are done in the plot equation. Check each calculation separately to see if they give what you expect. Then combine two operations and do same, etc...
You may want to check parentheses placement also, it's hard to read this expression, and there may be some unobvious mistake. It would make much more sense to store separate calculations in variables with meaningful names.
Instead of looking at the plot I would tackle this by inspecting calculations that are done in the plot equation. Check each calculation separately to see if they give what you expect. Then combine two operations and do same, etc...
You may want to check parentheses placement also, it's hard to read this expression, and there may be some unobvious mistake. It would make much more sense to store separate calculations in variables with meaningful names.