Hi,
Sorry...newbie question:
Is there a simple way to add logo images to the plots produced
by matplotlib? I've attached a sample plot created in IDL
which shows the logo positioning I would like to achieve.
I wasn't able to find any examples that had logos (though
there was a logo.py in the examples tarball that was missing
the .dat file). Would I basically have to read in the
pngs with imread, resize them, do some voodoo with the figure
layout, and finally imshow them?
Thanks,
Gerald
You can use a combination of axes() to define where you want the image
and imshow() to define the image. Use frame_on=False with axes(). You
can pass a PIL image directly to imshow(), and that way you won't have
to use imread, (although you'd have to use Image.open()).
Gerald John M. Manipon wrote:
ยทยทยท
Hi,
Sorry...newbie question:
Is there a simple way to add logo images to the plots produced
by matplotlib? I've attached a sample plot created in IDL
which shows the logo positioning I would like to achieve.
I wasn't able to find any examples that had logos (though
there was a logo.py in the examples tarball that was missing
the .dat file). Would I basically have to read in the
pngs with imread, resize them, do some voodoo with the figure
layout, and finally imshow them?
Thanks,
Gerald