Rank: 4460 based on 8 downloads (last 30 days) and 1 file submitted
photo

Kenneth Morton

E-mail
Company/University
Duke University Department of Electrical and Computer Engineering

Personal Profile:
Professional Interests:

 

Watch this Author's files

 

Files Posted by Kenneth
Updated   File Tags Downloads
(last 30 days)
Comments Rating
21 Mar 2006 Screenshot barerrorbar Create a bar plot with error bars. Author: Kenneth Morton annotation, customization, bar, errorbar, plot, graphics 8 7
  • 5.0
5.0 | 5 ratings
Comments and Ratings on Kenneth's Files View all
Updated File Comment by Comments Rating
30 Mar 2012 barerrorbar Create a bar plot with error bars. Author: Kenneth Morton I, B

Try setting the groups by using handle as described in the bar function
h=barerrorbar
>> set(h(1),'facecolor','white')
>> set(h(2),'facecolor','black')

01 Sep 2011 barerrorbar Create a bar plot with error bars. Author: Kenneth Morton Mian, Omar

For the final figure in the example code, I want to set the first group of bars (at x = 1) black and the second group (at x = 2) red.

Adapting the example code, I assumed I could do this:
figure
barerrorbar({1,xMeans(1,:),'k'}, {[1 1 1 1],xMeans(1,:), xMeansL(1,:),xMeansU(1,:),'bx'});
hold on
barerrorbar({2,xMeans(2,:),'r'}, {[2 2 2 2],xMeans(2,:), xMeansL(2,:),xMeansU(2,:),'bx'});

However, this gives an error. Could someone please advise on what the code should be?
Thanks.

06 Jul 2011 barerrorbar Create a bar plot with error bars. Author: Kenneth Morton Daniel

Very useful, is there anyway to make the error bars one sided? By that I mean to only have the top half of the error bar showing as opposed to the entire thing?

02 Jun 2011 barerrorbar Create a bar plot with error bars. Author: Kenneth Morton Luka
13 Apr 2009 barerrorbar Create a bar plot with error bars. Author: Kenneth Morton ollydbg

Great! It is better than the other bar and error bar related code

Top Tags Applied by Kenneth
annotation, bar, customization, errorbar, graphics
Files Tagged by Kenneth
Updated   File Tags Downloads
(last 30 days)
Comments Rating
21 Mar 2006 Screenshot barerrorbar Create a bar plot with error bars. Author: Kenneth Morton annotation, customization, bar, errorbar, plot, graphics 8 7
  • 5.0
5.0 | 5 ratings

Contact us at files@mathworks.com