Re: [Matplotlib-users] Fixing axes for imshow plot on top of a figure

2015-05-21 Thread Benjamin Root
I think you want figimage(): http://matplotlib.org/examples/pylab_examples/figimage_demo.html I use it all the time for adding the company's logo to graphs. Keep in mind that it will plot the unsampled version of the image, so the final result depends on the figure size and resolution. I hope tha

Re: [Matplotlib-users] Fixing axes for imshow plot on top of a figure

2015-05-21 Thread Goyo
I do not think fig.add_axes([0.1, 1, 1, 1]) makes any sense. The docstring says: fig.add_axes(*args, **kwargs) Add an axes at position *rect* [*left*, *bottom*, *width*, *height*] where all quantities are in fractions of figure width and height. If bottom and height are both 1 you need the heigh

[Matplotlib-users] Fixing axes for imshow plot on top of a figure

2015-05-20 Thread aradand
I'm trying to plot an image on top of a Figure, but imshow seems to always distort the size of the axes. What I want is that the lower part of the top image stay always in the same position, for any image height This minimal example shows my issue import matplotlib.pyplot as plt import numpy as