How to synchronize three planes on the same figure to run simultaneously

2 views (last 30 days)
I have three planes (axial, sagittal, coronal) on the same figure. I want them to simultaneously operate under scrolling my mouse wheel. Any suggestion of how to do that?
Thanks

Answers (2)

Rik
Rik on 15 Jan 2018
Coincidentally, I am actually working on something that does that. It is not yet ready for the FEX, but I will remove the files here and replace them with a link to the FEX.
There might be several bugs in here, and it might not work for your specific case, but most of this code is compatible with Matlab releases back to 6.5, as well as Octave.
Run Untitled.m for an example with the built in example mri. Scrolling will scroll through the planes, dragging will change the window level.
  2 Comments
Stelios Fanourakis
Stelios Fanourakis on 17 Jan 2018
Can you please send me a jpg of the resulted figure that comesout of this code
Rik
Rik on 17 Jan 2018
Why? You can run this on just about anything. Do you have any problems running this? If so, please ask a specific question, if not, could you click the accept button?

Sign in to comment.


Jan
Jan on 15 Jan 2018

Categories

Find more on Interactive Control and Callbacks 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!