Thank you! I just thought there must be a solution. I saw someone posted he can modified contour.py to fix this, but I failed. :(
Marius 't Hart-3 wrote: > > Actually, it does not draw the polygon edges, but leaves small gaps > between them. Through those gaps you can see the background. (This also > happens with polar plots and other polygons by the way.) I consider this > a bug, though there are ways around it. For contour plots one can plot > two contourplots over each other, one with different levels (or a > different number of levels) than the other. Messy, but it works. > > Marius. > > lmkli wrote: >> When I use contourf to plot a filled contour map, I get some white-like >> lines >> between each two color patches, or you can call them gaps. >> This is not like the contourf doc string says: "it does not draw the >> polygon edges.", actually, it does. >> http://old.nabble.com/file/p27982822/contourf1.png contourf1.png >> The figure above is what I get by contourf, but this is not exactlly what >> I >> want. >> >> The filled contour map I want should be like this one: >> http://old.nabble.com/file/p27982822/contourf2.png contourf2.png >> >> Any advice? >> >> Thank you! >> > > > ------------------------------------------------------------------------------ > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > Matplotlib-users mailing list > Matplotlib-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/matplotlib-users > > -- View this message in context: http://old.nabble.com/contourf-creats-white-like-lines-%28or-gaps%29-between-each-two-color-patches-tp27982822p27996271.html Sent from the matplotlib - users mailing list archive at Nabble.com. ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users