Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2008

[Date Index] [Thread Index] [Author Index]

Search the Archive

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]


  • Prev by Date: pass by reference
  • Next by Date: Re: FFT in Mathematica
  • Previous by thread: Re: Coloring Histograms
  • Next by thread: Re: Coloring Histograms