Re: Coloring Histograms
- To: mathgroup at smc.vnet.net
- Subject: [mg93690] Re: Coloring Histograms
- From: Bill Rowe <readnews at sbcglobal.net>
- Date: Sat, 22 Nov 2008 06:10:49 -0500 (EST)
On 11/21/08 at 5:31 AM, trilling at orange.fr (Richard Trilling) wrote:
>I'm using the Histogram package, calling it by: Needs["Histograms`"]
>Each histogram keeps coming out in pale blue. I'd like to be able to
>change the color of an individual histogram to something else.
>This way when I combine two histograms on the same graph using
>"Show" they will come out in different colors.
>To plot a single histogram I use the syntax:
>Histogram[completeness, FrequencyData -> True]
Use the BarStyle option. For example,
<< Histograms`
data = RandomReal[NormalDistribution[0, 1], {100}];
Histogram[data, BarStyle -> Red]