Inspired by Josh's function, I updated showsrs2 to include linked cursors support. The functionality is the same as Josh's function, except it links the figures both ways (clicking in figure 1 updates figure 2 and clicking in figure 2 updates figure 1) and more than two figures can be linked together.
Exampleanat = readmr('\\Server\Data\Study.01\Anat\Sub1\anat.bxh');
tmap1 = readmr('\\Server\Data\Study.01\Analysis\Sub1\tmap1.bxh');
tmap2 = readmr('\\Server\Data\Study.01\Analysis\Sub1\tmap2.bxh');
tmap3 = readmr('\\Server\Data\Study.01\Analysis\Sub1\tmap3.bxh');
tsv1 = readmr('\\Server\Data\Study.01\Analysis\Sub1\Avg_1.bxh');
tsv2 = readmr('\\Server\Data\Study.01\Analysis\Sub1\Avg_2.bxh');
fig1 = showsrs2(anat,tmap1,tsv1);
fig2 = showsrs2(anat,tmap2,tsv2);
fig3 = showsrs2(anat,tmap3);
showsrs2('LinkCursors', [fig1 fig2 fig3])Please post to this thread if you find any problems.
-Chuck
P.S. If you have trouble with this function, just add
\\Gall\Programs\User_Scripts\beta\oldlinked to your path to use Josh's code and the old version of showsrs2.