On Thu, Oct 22, 2009 at 8:59 AM, Johan Carlin
<johan.car...@googlemail.com> wrote:
> 1. Is there a way to change error bar line width directly with the bar 
> function?

Maybe not. It seems that the "bar" function currently does not return
errorbar-related artists. You can find them by looking through
axes.lines and axes.collections, but I don't recommend it.

> 2. If it is necessary to do this with errorbar(), how can I change the
> cap width or thickness?

I think it is best to use a separate errorbar function.
The error bar caps are drawn as markers. So, you need to change
marker-related attributes.

errorbar((0+w/2,1+w/2),V,e,elinewidth=3,ecolor='k',fmt=None,capsize=10, mew=5)

"mew" => "makeredgewidth"

errorbar function returns artists it creates. So, you may change
attributes of these individual artists, say, if you want different
widths for upper caps and lower caps.
See the documentation for more details.

Regards,

-JJ

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to