-
-
Notifications
You must be signed in to change notification settings - Fork 480
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
allow vertical slopes in slope field plots #5553
Comments
comment:1
plot_vector_field is already fixed. See #5259. |
comment:2
That said, it'd be great to fix plot_slope_field to detect when you have a vertical slope and have it change things accordingly. I think this should be easy: just see what vectors have finite X, infinite Y, and set them to be zero X, one Y. |
This comment has been minimized.
This comment has been minimized.
comment:3
I see, I thought that there was also a question of allowing infinite vectors, which I thought was weird. I didn't realize it didn't return a plot at all before! Yes, so I will change the summary and description of this to fixing plot_slope_field. The problem is that it will be a sort of messy hack, unless it's dealt with in the plot_vector_field code using a keyword (I attempted to start this), but then you are trying to catch something that looks like (1/inf,inf/inf=NaN), which is a little tricky. But doing it in plot_slope_field means you might as well just do all the stuff in plot_vector_field there, since you'll have to catch individual vectors anyway - which is annoying, since it seems redundant. |
currently won't show the vertical slopes at y=0, x nonzero, but there is no mathematical reason it shouldn't, so this should be fixed.
Component: graphics
Issue created by migration from https://trac.sagemath.org/ticket/5553
The text was updated successfully, but these errors were encountered: