For the first part of your question, you can do so as follows:
x = rand(3,2);
h = bar (x);
h(1).FaceColor = 'red'
h(2).FaceColor = 'blue'
For the second part, patterned face colours aren't provided for with the bar() function. When you plot a bar chart such as:
you can continue to modify the colors of any model using the same procedure as above. Additionally the legend will update for you accordingly:
legend('model A','model B','model C','model D','model E','model F')
Best Answer