Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

brainpy.analysis.PhasePlane2D.plot_nullcline has two branches #718

Open
Newtonpula opened this issue Feb 25, 2025 · 6 comments
Open

brainpy.analysis.PhasePlane2D.plot_nullcline has two branches #718

Newtonpula opened this issue Feb 25, 2025 · 6 comments

Comments

@Newtonpula
Copy link

In my single compartment HH-like model, the nullcline of the voltage variable has two branches. When I use brainpy.analysis.PhasePlane2D.plot_nullcline() to plot the nullcline, the endpoints of the two branches are connected. Is there any way to avoid this?

@chaoming0625
Copy link
Collaborator

can you show the image?

@Newtonpula
Copy link
Author

can you show the image?

Image

@chaoming0625
Copy link
Collaborator

what does the endpoints of the two branches are connected mean?

@Newtonpula
Copy link
Author

what does the endpoints of the two branches are connected mean?

The middle part of the N-shape V nullcline should not exist, it just connects the endpoints of the left branch and the right branch of the V nullcline.

Attach is the same plot with fmt='o', but I want to use fmt='-'.

Image

@chaoming0625
Copy link
Collaborator

Maybe you need to plot by yourself. plot_nullcline(with_return=True) will return all points, and then you can draw what you want. Can this solve your question?

@Newtonpula
Copy link
Author

Maybe you need to plot by yourself. plot_nullcline(with_return=True) will return all points, and then you can draw what you want. Can this solve your question?

Yes, it solves my question. Thanks very much.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants