On Thu, Sep 15, 2011 at 10:33 PM, Jonathan Slavin <jsla...@cfa.harvard.edu> wrote: > I'm wondering if there is some way to do cross hatching as a way to fill > contours rather than colors (using contourf). The only references to > cross hatching I see in the documentation are for patches type objects. > As far as I can tell, contour and contourf return objects of their own > type (contour.QuadContourSet) that do not have hatch as an attribute. >
Yes, it seems that hatching is only supported in patches. You may workaround this by converting contours to multiple patches. See the attachment. > If it's not possible currently, how hard would it be to add that > capability to contourf? What approach would you recommend? > It may not be that difficult, but seems to require an api change (e.g., draw_path_collections). Can you file an issue on our github page? Regards, -JJ > Regards, > Jon > > > ------------------------------------------------------------------------------ > Doing More with Less: The Next Generation Virtual Desktop > What are the key obstacles that have prevented many mid-market businesses > from deploying virtual desktops? How do next-generation virtual desktops > provide companies an easier-to-deploy, easier-to-manage and more affordable > virtual desktop model.http://www.accelacomm.com/jaw/sfnl/114/51426474/ > _______________________________________________ > Matplotlib-users mailing list > Matplotlib-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/matplotlib-users >
contour_to_hatched_patches.py
Description: Binary data
------------------------------------------------------------------------------ BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA http://p.sf.net/sfu/rim-devcon-copy2
_______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users