Skip to content

Commit

Permalink
update example
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexander-Barth committed May 22, 2024
1 parent 8ba3ddb commit 6c2f8db
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/diagnostic.jl
Original file line number Diff line number Diff line change
Expand Up @@ -28,15 +28,15 @@ the obervations (sample).
## Example
```julia
using PyPlot
using PyPlot, DataAssim
Nens = 100
Nsample = 10000
# Ensemble
x = randn(Nsample,Nens)
# Observation
y = randn(Nsample)
freq = talagrand_diagram(x,y)
freq = DataAssim.talagrand_diagram(x,y)
plot(freq)
plot(ones(size(freq)) / size(freq,1))
ylim(0,ylim()[2])
Expand Down

0 comments on commit 6c2f8db

Please sign in to comment.