I need to fit some data to the von Mises distribution:
but before to do that I would like to plot this function first in gnuplot. I want to reproduce the curves for different k values, you can see them in wikipedia: https://en.wikipedia.org/wiki/Von_Mises_distribution.
My problem relies on the term Io(k) which is the modified Bessel function of order 0.
Io(k)=Jo(ik), where Jo is the bessel function for n=0, basically from this equation:.
In gnuplot one can plot Jo(k) with the function
> besj0(k)
but I cannot:
besj0(i*k) when the argument is imaginary.
Does anybody have an idea how to plot the von Mises distribution in gnuplot?