Display one axes across multiple figures

1 回表示 (過去 30 日間)
Jesus Ferrand
Jesus Ferrand 2022 年 10 月 10 日
編集済み: Eric Delgado 2022 年 10 月 11 日
I have multiple line plots of vastly different sizes inside one axes object. I am running code that will affect both the large and small scales. The changes will be reflected on the line plots.
For that reason,I would like at least two views of the axes on which I have drawn my data, one for the large scales, and another for a small scale region that I get to zoom into.
I have looked at some file exchanges and it appears that the only way to do this is by maintaining as many copies of the axes as views are needed (using copyobj()). Is there a way to have just one axes and have MATLAB render specific "views" of that axes across multiple containers (namely figures)? Think "live feed" from this one axes.

回答 (1 件)

Eric Delgado
Eric Delgado 2022 年 10 月 11 日
編集済み: Eric Delgado 2022 年 10 月 11 日
No. you can't, but copyobj will do the job, right? And you can use addlistener to help you handle the update process of all your axes. See https://www.mathworks.com/matlabcentral/answers/1818805-how-to-respond-to-update-of-axis-data

カテゴリ

Help Center および File ExchangeGraphics Object Properties についてさらに検索

タグ

製品


リリース

R2016b

Community Treasure Hunt

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

Start Hunting!

Translated by