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

2 vues (au cours des 30 derniers jours)
Suhas Ramanan
Suhas Ramanan le 25 Août 2023
Commenté : Suhas Ramanan le 27 Août 2023
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?

Réponses (1)

Walter Roberson
Walter Roberson le 25 Août 2023
  1 commentaire
Suhas Ramanan
Suhas Ramanan le 27 Août 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

Connectez-vous pour commenter.

Catégories

En savoir plus sur Creating, Deleting, and Querying Graphics Objects dans Help Center et File Exchange

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by