Re: [Matplotlib-users] display a path?

2009-06-01 Thread Michael Droettboom
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

Re: [Matplotlib-users] display a path?

2009-06-01 Thread lucab
Mike, thanks so much for the response. my intent is to build compound paths that (ideally) include bezier curve approximations to circle segments and straight-line elements. the final output will most likely be an SVG file so it would be nice to keep the beziers. but since i'm new to matplotlib,

[Matplotlib-users] display a path?

2009-05-31 Thread lucab
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