MathGroup Archive 2009

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

Search the Archive

Re: Re: Forcing vertical scale on Histogram

  • To: mathgroup at smc.vnet.net
  • Subject: [mg102094] Re: [mg101990] Re: [mg101962] Forcing vertical scale on Histogram
  • From: "Elton Kurt TeKolste" <tekolste at fastmail.us>
  • Date: Wed, 29 Jul 2009 05:10:24 -0400 (EDT)
  • References: <200907250818.EAA29730@smc.vnet.net>

Larry

In the documentation for Histogram it notes that Histograph accepts all
of the options that Graphics accepts, which include PlotRange. Does this
solve your problem?

Histogram[data, {5}, "Probability", PlotRange -> {{0, 20}, {0, 1}}]

Kurt

On Sat, 25 Jul 2009 04:18 -0400, "Bob Hanlon" <hanlonr at cox.net> wrote:
> 
> data = RandomInteger[{1, 19}, 15]
> 
> {3,17,5,18,16,19,11,3,16,13,7,9,3,10,14}
> 
> Histogram[data, {5},
>  Function[{bins, counts},
>   counts/Total[counts]]]
> 
> Histogram[data, {5},
>  "Probability"]
> 
> 
> Bob Hanlon
> 
> ---- Larry Knight <larryknight71 at yahoo.com> wrote: 
> 
> =============
> Hello;
> I am using Mathematica 7 and need help on formatting a Histogram.  I want
> to force the vertical scale to a particular value, and NOT use the
> automatic scaling. 
> 
> I have read the documentation, and looked at the examples, but cannot
> seem to find the solution. 
> 
> Anyone know how to do this? Please provide a small working code snippet!
> 
> Thanks, 
> Larry Knight,
> Woodstock, Georgia
> 
> 


  • Prev by Date: Re: mimic InterpolatingFunction et. al. formatting
  • Next by Date: Re: bvdae error when using NDSolve for initial value
  • Previous by thread: Re: Forcing vertical scale on Histogram
  • Next by thread: Re: Forcing vertical scale on Histogram