i have a bar graph having three bars as follows
x=[0.22,0.34,0.42]
bar(x,0.1,'stacked')
somenames={'IND Relation' ; 'DIS Relation' ; 'EQ Relation'}
set(gca,'xticklabel',somenames)
ylabel('F1')
all the three bars are in blue color but i want to represent IND Relation with Brown color, DIS Relation with green color and EQ Relation with blue color.
following is the output, i only want to change colors in above order brown green and blue

Is this what you are looking for?