Skip to content

Commit 48f4a15

Browse files
authored
Update README.md
1 parent c1b3133 commit 48f4a15

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@ julia> using PyPlot
6565
julia> pcolormesh(P.η')
6666
```
6767
![Figure_1](https://user-images.githubusercontent.com/25530332/90311163-1ee40a00-def0-11ea-8911-810d7762cd3f.png)
68+
6869
Or let's calculate the speed of the currents
6970
```julia
7071
julia> speed = sqrt.(Ix(P.u.^2)[:,2:end-1] + Iy(P.v.^2)[2:end-1,:])
@@ -74,6 +75,7 @@ julia> speed = sqrt.(Ix(P.u.^2)[:,2:end-1] + Iy(P.v.^2)[2:end-1,:])
7475
julia> pcolormesh(speed')
7576
```
7677
![Figure_2](https://user-images.githubusercontent.com/25530332/90311211-88fcaf00-def0-11ea-8308-b4f438495152.png)
78+
7779
Such that the currents are strongest around the two eddies, as expected in this quasi-geostrophic setup.
7880

7981
## (Some) Features

0 commit comments

Comments
 (0)