[Matplotlib-users] Subplot x-axis shared with other subplots y-axis

Thomas Caswell tcaswell at gmail.com
Mon May 15 11:43:18 EDT 2017


There are callbacks that fire when the limits are changed.  See

https://matplotlib.org/examples/event_handling/viewlims.html

for an example.

This is probably the best route to go down as you can do other interesting
things as the event goes by (like triggering computation, updating a openGL
view window, etc) as well as updating the Matplotlib limits.

Tom

On Mon, May 15, 2017 at 3:29 AM Juan Nunez-Iglesias <jni.soma at gmail.com>
wrote:

> Hello,
>
> I’m trying to build an orthogonal-views volume viewer in Matplotlib like
> this one:
> https://imagej.nih.gov/ij/docs/guide/images/OrthogonalViews.png
>
> For this to work, I need to share the y-axis of the YZ (right)
> view/subplot with the x-axis of the XZ (bottom) view/subplot. Is this
> possible?
>
> Juan.
>
> _______________________________________________
> Matplotlib-users mailing list
> Matplotlib-users at python.org
> https://mail.python.org/mailman/listinfo/matplotlib-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/matplotlib-users/attachments/20170515/57d5677b/attachment-0001.html>


More information about the Matplotlib-users mailing list