From: <dd...@ja...> - 2006-09-29 01:40:42
|
On Thursday 28 September 2006 1:24 pm, Christian Meesters wrote: > Hi, > > I'd like to plot experimental data points with fitted data through > it. This time best would be to plot hollow circles for the > experimental data. Pretty much like literal 'o's (except, of > course, that passing 'o' results in thick circles). > Is this possible somehow? Hi Christian, I've been using the Rectangle class in patches to plot unfilled rectangles. Circle and Polygon classes are also available that you may find useful. You can control the filling, the colors of the faces and edges, and the thickness of the edges. Here's an example for an unfilled red rectangle. from matplotlib.patches import Rectangle ... ... fig=figure(figsize=(W,H)) ax = fig.add_axes([left,bottom,width,height]) p=Rectangle([x,y], 4.0, 0.6, fill=False, linewidth=1, edgecolor="red") ax.add_patch(p) -Cheers |