need to synchronize two figures in matlab gui

9 次查看(过去 30 天)
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 个评论
Aash
Aash 2018-4-21
By synchronize, I mean when I zoom in or zom out figure 1 , the figure 2 zoom itself to the same point.
Aash
Aash 2018-4-21
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

请先登录,再进行评论。

采纳的回答

Walter Roberson
Walter Roberson 2018-4-22
linkaxes()
  10 个评论

请先登录,再进行评论。

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Labels and Annotations 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by