From 116b311473e9a146c046912ede8ae632c641a69b Mon Sep 17 00:00:00 2001 From: Norbert Marwan Date: Mon, 10 Jun 2024 11:11:09 +0200 Subject: [PATCH 1/3] Update rplots.md add example with GlobalRecurrenceRate(RR) --- docs/src/rplots.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/docs/src/rplots.md b/docs/src/rplots.md index 4951c01..7f62f9b 100644 --- a/docs/src/rplots.md +++ b/docs/src/rplots.md @@ -57,6 +57,10 @@ X, t = trajectory(ro, N*Δt; Δt, Ttr = 10.0) # Make a recurrence matrix with fixed threshold R = RecurrenceMatrix(X, 5.0) recurrenceplot(R; ascii = true) + +# Or make a recurrence matrix with fixed (global) recurrence rate of 10% +R = RecurrenceMatrix(X, GlobalRecurrenceRate(0.1)) +recurrenceplot(R; ascii = true) ``` ```@example MAIN typeof(R) @@ -177,4 +181,4 @@ distancematrix ## `StateSpaceSet` reference ```@docs StateSpaceSet -``` \ No newline at end of file +``` From bf04c5e24948ab96dab396dbb57dad67979ccdcc Mon Sep 17 00:00:00 2001 From: George Datseris Date: Mon, 10 Jun 2024 11:21:30 +0100 Subject: [PATCH 2/3] Update docs/src/rplots.md --- docs/src/rplots.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/docs/src/rplots.md b/docs/src/rplots.md index 7f62f9b..3f90f8b 100644 --- a/docs/src/rplots.md +++ b/docs/src/rplots.md @@ -57,8 +57,9 @@ X, t = trajectory(ro, N*Δt; Δt, Ttr = 10.0) # Make a recurrence matrix with fixed threshold R = RecurrenceMatrix(X, 5.0) recurrenceplot(R; ascii = true) - -# Or make a recurrence matrix with fixed (global) recurrence rate of 10% +``` +Or make a recurrence matrix with fixed (global) recurrence rate of 10% +```@example MAIN R = RecurrenceMatrix(X, GlobalRecurrenceRate(0.1)) recurrenceplot(R; ascii = true) ``` From 21f3a737f1a8be1f42f0ff38c3e23f0dfff29277 Mon Sep 17 00:00:00 2001 From: George Datseris Date: Mon, 10 Jun 2024 11:22:05 +0100 Subject: [PATCH 3/3] Update Project.toml --- Project.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Project.toml b/Project.toml index 4469db8..313301c 100644 --- a/Project.toml +++ b/Project.toml @@ -1,7 +1,7 @@ name = "RecurrenceAnalysis" uuid = "639c3291-70d9-5ea2-8c5b-839eba1ee399" repo = "https://github.com/JuliaDynamics/RecurrenceAnalysis.jl.git" -version = "2.0.7" +version = "2.0.8" [deps] DelimitedFiles = "8bb1440f-4735-579b-a4ab-409b98df4dab"