On Fri, Sep 25, 2009 at 8:53 AM, Leopold Stadler <leopoldstad...@web.de> wrote:
> Is there some simple solution to draw a patch collection with no edges or to 
> set the edgecolor to the
> facecolor? I believe that for single polygons the color = XY comand should 
> work.
>

While I believe that setting linewidth=0 will prevent edge-drawing,
see if edgecolor="none" works.
It is hard to tell without any screenshot. So please post a complete
code and a screenshot if possible. My guess is that what you see is an
artifact of antialiasing.

> The second question is if it is possible to fill patches with color gradients 
> based on corner values?

The svn version of mpl has a support for gouraud shading. other than
that there is no support of gradient in mpl as far as I know.  You may
create your own gradient image as in the example below.

http://matplotlib.sourceforge.net/examples/pylab_examples/gradient_bar.html

Regards,

-JJ

------------------------------------------------------------------------------
Come build with us! The BlackBerry&reg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9&#45;12, 2009. Register now&#33;
http://p.sf.net/sfu/devconf
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to