Skip to content

Commit 0f6d4aa

Browse files
Update README.md
1 parent 53b25f2 commit 0f6d4aa

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ p = [σ => 28.0,
6363
tspan = (0.0,100.0)
6464
prob = ODEProblem(sys,u0,tspan,p,jac=true)
6565
sol = solve(prob)
66-
using Plots; plot(sol,vars=(x,y))
66+
using Plots; plot(sol,idxs=(x,y))
6767
```
6868

6969
![Lorenz2](https://user-images.githubusercontent.com/1814174/79118645-744eb580-7d5c-11ea-9c37-13c4efd585ca.png)
@@ -113,7 +113,7 @@ tspan = (0.0,100.0)
113113
prob = ODEProblem(connected,u0,tspan,p)
114114
sol = solve(prob)
115115

116-
using Plots; plot(sol,vars=(a,lorenz1.x,lorenz2.z))
116+
using Plots; plot(sol,idxs=(a,lorenz1.x,lorenz2.z))
117117
```
118118

119119
![](https://user-images.githubusercontent.com/1814174/110242538-87461780-7f24-11eb-983c-4b2c93cfc909.png)

0 commit comments

Comments
 (0)