From: John H. <jd...@gm...> - 2007-06-11 12:33:00
|
On 6/10/07, __ <red...@gm...> wrote: > Hello, > > I'm trying to plot a simple list of x/y coords over an image (.png). I can > show the image, or plot the data, but cannot find a way to layer one over > the other. I would greatly appreciate someone pointing me in the right Just call imshow and set the "extent" kwarg to let mpl know about the coordinates of the image, and then call scatter. See examples/image_demo2.py in the mpl src distribution, ot at http://matplotlib.sourceforge.net/examples/image_demo2.py JDH |