MathGroup Archive 2008

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

Search the Archive

Re: Coloring Histograms

  • To: mathgroup at
  • Subject: [mg93700] Re: Coloring Histograms
  • From: Raffy <raffy at>
  • Date: Sat, 22 Nov 2008 06:12:37 -0500 (EST)
  • References: <gg62kp$52t$>

On Nov 21, 2:30 am, "Richard Trilling" <trill... at> 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 chan=
> the color of an individual histogram to something else.
> This way when I combine two histograms on the same graph using "Show" the=
> will come out in different colors.
> To plot a single histogram I use the syntax:
>       Histogram[completeness, FrequencyData -> True]
> I haven't found a plot option that will acomplish this. Any ideas would b=
> appreciated.
> Richard

replacePrims[Graphics[pr_, args___], rules___] := Graphics[pr /.
{rules}, args];

replacePrims[Histogram[{1,2,3,4}], _RGBColor->Red]
replacePrims[Histogram[{1,2,3,2}], _RGBColor->Blue]

  • Prev by Date: Re: Displaying the solution step by step in Wolfram Mathematica
  • Next by Date: Re: electric circuit
  • Previous by thread: Re: Coloring Histograms
  • Next by thread: Re: Coloring Histograms