Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisRackauckas committed Sep 6, 2024
1 parent f82cf04 commit 67abc22
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/src/examples/classical_physics.md
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ So now we know that behaviour of the position versus time. However, it will be u

```@example physics
p = plot(sol, vars = (1, 2), xlims = (-9, 9), title = "Phase Space Plot",
xaxis = "Angular position", yaxis = "Angular velocity", leg = false)
xaxis = "Angular position", yaxis = "Angular velocity", leg = false)
function phase_plot(prob, u0, p, tspan = 2pi)
_prob = ODEProblem(prob.f, u0, (0.0, tspan))
sol = solve(_prob, Vern9()) # Use Vern9 solver for higher accuracy
Expand Down

0 comments on commit 67abc22

Please sign in to comment.