I found similar questions like this topic to find all intersection of 2 curves[1][2], In all of them we have functions, but what if we want to find these crossing points for non-functions curves? Here is an example:
to plot I wrote:
plt.plot(Enull,x, '-',label='E nullcline')
plt.plot(x,Inull, '-',label='I nullcline')
I replaced I
in E
to have a one-variable function, then I used fzero
to find the intersections. If I have the approximate value of E
say :
cross = np.array([0.05,0.1,0.45])
, the problem is solved.
So the question is how to find these approximate values of crossing?
Thanks for any guide.