Solved
Strange Graph Display
- July 15, 2023
- 2 replies
- 1093 views
Hello,
I plotted this function and the graph looks something "strange", at least at first glance. Normally it should have shown a continuous line, or?



MC8 Prime.
You function f() returns non-real numbers with a tiny imaginary part for a lot of input values. Maybe due to numerical inaccuracies/round offs. Primes plot refuses to plot anything in this case, hence the empty spots.

ttokoro showed that using just the real part of the result for plotting might be a solution to the problem.
You may also consider using the Re() function already in the definition of f().
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.