Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

matplotlib: synchronize pan/zoom events across multiple subplots?

I want to have multiple subplots mirror the pan/rotate/zoom mouse events in any of the subplots. Specifically, I have multiple 3D subplots and I would like a rotation/zoom in any of them to be synchronized across all of the 3D subplots. Is there an "easy" way to accomplish this?

like image 641
ndawe Avatar asked Dec 06 '25 07:12

ndawe


1 Answers

I gave an answer to a similar question,

Using Matplotlib 3D axes, how to drag two axes at once

without knowing this question existed. The idea is to register event listeners to synchronize two or more axes.

like image 194
ImportanceOfBeingErnest Avatar answered Dec 08 '25 21:12

ImportanceOfBeingErnest



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!