3

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?

ndawe
  • 338
  • 3
  • 14
  • For 2D plots, you can use axis sharing, not sure off the top of my head if it will work for 3D. – tacaswell Apr 14 '15 at 04:40
  • It doesn't work for 3D plots. – wordsforthewise Apr 14 '15 at 05:42
  • I assume then that one way is to set up a system of event connections that somehow mirrors the mouse events over one figure in all other figures, or override the built-in connections with ones that keep the rotation/zoom states of all subfigures synchronized. – ndawe Apr 15 '15 at 01:13

1 Answers1

1

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.

Community
  • 1
  • 1
ImportanceOfBeingErnest
  • 321,279
  • 53
  • 665
  • 712