Skip to content

Commit 7962347

Browse files
nicer plots in README
1 parent c77da89 commit 7962347

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
@@ -53,7 +53,7 @@ p = [σ => 28.0,
5353
tspan = (0.0,100.0)
5454
prob = ODEProblem(sys,u0,tspan,p,jac=true)
5555
sol = solve(prob,Tsit5())
56-
using Plots; plot(sol,vars=(:x,:y))
56+
using Plots; plot(sol,vars=(x,y))
5757
```
5858

5959
![Lorenz2](https://user-images.githubusercontent.com/1814174/79118645-744eb580-7d5c-11ea-9c37-13c4efd585ca.png)
@@ -101,7 +101,7 @@ tspan = (0.0,100.0)
101101
prob = ODEProblem(connected,u0,tspan,p)
102102
sol = solve(prob,Rodas5())
103103

104-
using Plots; plot(sol,vars=(,Symbol(lorenz1.x),Symbol(lorenz2.y)))
104+
using Plots; plot(sol,vars=(α,lorenz1.x,lorenz2.y))
105105
```
106106

107107
![](https://user-images.githubusercontent.com/1814174/79122361-6fdaca80-7d65-11ea-87fd-0f6c4a85cd0d.png)

0 commit comments

Comments
 (0)