We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I don't think that plot recepies are working with backwards timespans. See the following code
using DifferentialEquations function f(du,u,p,t) L = [1.0 0.0; 0.0 1.0] A_mul_B!(du,L,u) end tspan = (0.0, 1.0) u_0 = [0.5; 1.0] prob = ODEProblem(f, u_0, tspan) sol = solve(prob) using Plots plot(sol)
That all works fine. Now go backwards
tspan = (1.0, 0.0) u_T = [0.5; 1.0] prob = ODEProblem(f, u_T, tspan) sol = solve(prob) using Plots plot(sol)
It displays the right range and labels, but no data. Is there a workaround, or am I missing something?
The text was updated successfully, but these errors were encountered:
Axis limits are off. It's plotting on [2.0,1.0] for some reason.
[2.0,1.0]
plot(sol,xlims=[0.0,1.0])
Sorry, something went wrong.
SciML/DiffEqBase.jl@d72d5d0
No branches or pull requests
I don't think that plot recepies are working with backwards timespans. See the following code
That all works fine. Now go backwards
It displays the right range and labels, but no data. Is there a workaround, or am I missing something?
The text was updated successfully, but these errors were encountered: