need to synchronize two figures in matlab gui

1 visualizzazione (ultimi 30 giorni)
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 Commenti
Aash
Aash il 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 il 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

Accedi per commentare.

Risposta accettata

Walter Roberson
Walter Roberson il 22 Apr 2018
linkaxes()
  10 Commenti
Walter Roberson
Walter Roberson il 23 Apr 2018

Please search Answers using the phrase

   tag:"always parent" 

Accedi per commentare.

Più risposte (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by