On Wed, Apr 1, 2009 at 6:50 AM, Lorenzo Isella <lorenzo.ise...@gmail.com> wrote:
> Now, I would like to plot exactly the same function but on a circular
> domain (circle of radius 1 centered at (0,0)).

You have an image with x,y spanning from -1 to 1. How do you transform
your x,y coordinate to r, theta? Or, x,y in your example  actually
corresponds to r, theta in polar coordinate?
In that case, is it simply that you want to your image centered at
(0,0)? Use the extent keyword of imshow command.

  http://matplotlib.sourceforge.net/api/pyplot_api.html#matplotlib.pyplot.imshow

It is not clear what you want.
Regards,

-JJ

------------------------------------------------------------------------------
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to