need to synchronize two figures in matlab gui

6 views (last 30 days)
I want to synchronise two figures in separate windows. The example code is given below. Please can someone write a code for eme as I have just started using MATLAB GUI.
im = imread (ImageA.jpg)
figure (1);
imagesc(im)
im1 =in2bw(im);
figure (2);
imagesc(im1)
  4 Comments
Aash
Aash on 21 Apr 2018
By synchronize, I mean when I zoom in or zom out figure 1 , the figure 2 zoom itself to the same point.
Aash
Aash on 21 Apr 2018
https://au.mathworks.com/matlabcentral/answers/396424-need-to-synchronize-two-figures-in-matlab-gui#comment_559387 I deleted that question as I thought it was not clear enough. Can you please write a code for this aS I am a beginner

Sign in to comment.

Accepted Answer

Walter Roberson
Walter Roberson on 22 Apr 2018
linkaxes()
  10 Comments
Walter Roberson
Walter Roberson on 23 Apr 2018

Please search Answers using the phrase

   tag:"always parent" 

Sign in to comment.

More Answers (0)

Categories

Find more on Data Exploration 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!