MATLAB function for Shift Function plots?
Show older comments
Dear experts,
Is there any way to produce a shift function plot in MATLAB?
For example, as in the following R function:

or:

(taken from: Alnæs, Dag, et al. "Brain heterogeneity in schizophrenia and its association with polygenic risk." JAMA psychiatry (2019). )
3 Comments
Adam Danz
on 19 Dec 2019
The link you shared contains a link to the source code (github). If you wanted to reporduce those figures you could start by looking at the source code and converting it to Matlab code.
At first glance, it looks like the lower plot in each example shows the lag from a cross correlation
Johnson
on 20 Dec 2019
Johnson
on 20 Dec 2019
Accepted Answer
More Answers (0)
Categories
Find more on Data Distribution Plots in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!