You can use the 'FaceColor' property for object descriptors:
n=[46.4000 51.8000 44.8000 44.9000 67.2000 85.0000 54.4000 60.3000 43.2000 57.0000 51.2000 68.0000 75.2000 76.0000 44.8000 51.3000 67.2000 72.2000 70.4000 71.2000]; bar_handle = bar(n,'grouped'); set(bar_handle(1),'FaceColor',[0,1,0]) set(bar_handle(2),'FaceColor',[1,1,0])
The documentation explains how to set colors here .
source share