Link the plots(NOT LINKAXES)

2 次查看(过去 30 天)
Hi! I am trying to link the plots for example the line and the histogram. So, I have a set of data and I am plotting both line and histogram in the same figure as subplot. So i want a functionality that when I zoom in the line plot it even zooms in the hisogram(not linkaxes). what I mean is when I zoom in the line plot the histogram should recalulate itself and plot according to the zoom in data of the line plot and vice versa.

采纳的回答

Walter Roberson
Walter Roberson 2017-9-12
Create a zoom ActionPostCallback https://www.mathworks.com/help/matlab/ref/zoom.html#brux2aq that recalculates the histogram
  1 个评论
sc1991
sc1991 2017-9-12
Thanks for your response I will work on that and will update if I face any issues

请先登录,再进行评论。

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Data Exploration 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by