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

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to