On Thu, 18 Oct 2007 21:10:24 -1000
Eric Firing <ef...@ha...> wrote:
> Christian Lerrahn wrote:
> > Hi,
> > when I plot 2D data with imshow() and then add a contour plot, my
> > contours have an offset in relation to the data. At the same time
> > there is white space at the edge of my plot, so I assume that it is
> > the imshow plot that actually gets shifted. I'm new to Python and
> > matplotlib, so I don't really understand that. Can anybody give me a
> > hint about how to get rid of this offset?
>
> In the examples subdirectory of the mpl distribution, see
> contour_image.py.
Thanks. With the example and a bit of try and error, I now got it to
work. :)
Cheers,
Christian
|