Updating Y Axes on either side of my plot while zooming in

2 views (last 30 days)
I am currently using AppDesigner to display some visualizations from my external script. When the script runs, the visuals are displayed on the App. The plots created have 2 Y-axes on either side. Hence, when a user zooms into a plot, only one side updates while the other stays stagnant. Do let me know how I could fix this?

Answers (1)

Walter Roberson
Walter Roberson on 25 Aug 2023
  1 Comment
Suhas Ramanan
Suhas Ramanan on 27 Aug 2023
Hi Walter,
Thank you for your reference. I was also wondering if this is also a good way of doing it: https://www.mathworks.com/matlabcentral/answers/325284-how-do-i-make-both-yyaxis-axes-zoom-together
I am still having trouble ensuring both axes are synced with linkaxes
Suhas

Sign in to comment.

Categories

Find more on Creating, Deleting, and Querying Graphics Objects in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!