From: David Mueller on
I am using the hist command to plot a histogram. How do I change the
color of the bars in the plot from within an m-file? I can do it
using the property inspector and then ask for the interactive plot
dialog to create an m-file, but the created m-file does not use the
command hist and I haven't been successful at setting the color of
the bars from within and m-file.

I am relatively new Matlab user and the answer should be obvious but
I haven't been able to accomplish this. Thanks for you help.

Dave