If your path has bezier curve segments, then, yes, PathPatch is the most direct method (see the dolphin.py example). However, if you just need a series of line segments, then Polygon is probably much simpler for filling areas.
Mike lucab wrote: > i apologize in advance for what is undoubtedly a silly question, but, having > looked through the coding examples and the forum i am still a little > confused... > > am i correct in understanding that the only way to draw / display a path on > an axes is by converting it to a PathPatch and adding that to the axes? > > ideally i would like to display a PathPatch as well as parts of the path > that surround it. to do this i would like to show the PathPatch with no edge > and then also show part of the path (with no fill). > > thanks in advance, > > lb > -- Michael Droettboom Science Software Branch Operations and Engineering Division Space Telescope Science Institute Operated by AURA for NASA ------------------------------------------------------------------------------ Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers & brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, & iPhoneDevCamp as they present alongside digital heavyweights like Barbarian Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users