Yagua Rovi wrote: > Hello Andrew, > > For the same need as the previous message, I try to display in colour > a given surface based with on polar coordinates. Z = f (r, theta) > Can you show me which function I have to use? > I don't know what to do with "polar (theta, r)" function. > Is there an option for imshow ? > I don't see an example like that in the demo gallery of matplotlib. > Perhaps it is not possible, but I don't believe there is a lot of > things impossible with matplotlib ! :-) > Thank you for your valuable help. >
Hi Yagua -- this is not possible with imshow, which is for Cartesian, rectangular data. Maybe you could transform your data points into Cartesian coordinates and then use pcolor. Also, you could resample your data onto Cartesian coordinates using the griddata() function (see http://matplotlib.sourceforge.net/api/mlab_api.html#matplotlib.mlab.griddata ) and then use imshow again. -Andrew ------------------------------------------------------------------------------ Throughout its 18-year history, RSA Conference consistently attracts the world's best and brightest in the field, creating opportunities for Conference attendees to learn about information security's most important issues through interactions with peers, luminaries and emerging and established companies. http://p.sf.net/sfu/rsaconf-dev2dev _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users