On 6/10/07, __ <[EMAIL PROTECTED]> 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 ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users