We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1c30113 commit 1ca371dCopy full SHA for 1ca371d
test/springdamper.jl
@@ -2,8 +2,9 @@ using ExampleComponents
2
using OrdinaryDiffEq, ModelingToolkit
3
4
@mtkbuild springdamper = SpringDamper()
5
-prob = ODEProblem(springdamper, [springdamper.x => 1.0], (0.0, 1.0))
+prob = ODEProblem(springdamper, [springdamper.x => 2.0], (0.0, 12.0))
6
sol = solve(prob)
7
8
using Plots
9
-plot(sol)
+plot(sol)
10
+savefig("plot.png")
0 commit comments