From: James B. <bo...@ll...> - 2005-01-12 20:56:04
|
I have a mesh of irregular polygons, like a finite element mesh. Each polygon has an associated value. So, I have defined a color map with a appropriate normalization to define a color for each value and then built a collection consisting of the polygon vertices and colors. The resulting plot looks pretty good. This technique would seem to be useful for FE grids and Delaunay triangles. Two questions: (1) I want to attach a colorbar to the figure, but as of yet I have not worked out how to do it. images such as scatter, imshow, pcolor are mappable and will accept a color bar but my simple polygon fill will not. (2) How do I eliminate the edge lines about each polygon? I can make them very thin but a width of zero does not appear to work. I recall this being discussed on the list, but now I cannot find the reference. Thanks for any help. --Jim |