Re: Re: Coloring Histograms
- To: mathgroup at smc.vnet.net
- Subject: [mg93718] Re: [mg93710] Re: Coloring Histograms
- From: Murray Eisenberg <murray at math.umass.edu>
- Date: Mon, 24 Nov 2008 04:11:35 -0500 (EST)
- Organization: Mathematics & Statistics, Univ. of Mass./Amherst
- References: <gg62kp$52t$1@smc.vnet.net> <200811221114.GAA20636@smc.vnet.net>
- Reply-to: murray at math.umass.edu
Documented or not, that option does not seem to work with Mathematica
7.0. It has been replaced by ChartStyle, which also is applicable to
other chart-type objects: Pie Chart, BubbleChart, RectangleChart,
SectorChart, BarChart3D, ... .
Albert Retey wrote:
> Hi,
>
>> 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]
>>
>> I haven't found a plot option that will acomplish this. Any ideas would be
>> appreciated.
>
>
> Histogram[RandomInteger[{1, 5}, {100}], BarStyle -> Red]
>
> if you wonder how you can find something like that in cases like
> Histogram, where the documentation is almost nonexistent: look at
>
> Options[Histogram]
>
> and then try the possible candidates. Once I found BarStyle, I found
> that this option is documented, but not mentioned in the documentation
> of Histogram...
>
> hth,
>
> albert
>
--
Murray Eisenberg murray at math.umass.edu
Mathematics & Statistics Dept.
Lederle Graduate Research Tower phone 413 549-1020 (H)
University of Massachusetts 413 545-2859 (W)
710 North Pleasant Street fax 413 545-1801
Amherst, MA 01003-9305
- References:
- Re: Coloring Histograms
- From: Albert Retey <awnl@gmx-topmail.de>
- Re: Coloring Histograms