Re: histograms, logarithmic
- To: mathgroup at smc.vnet.net
- Subject: [mg102659] Re: histograms, logarithmic
- From: Joseph Gwinn <joegwinn at comcast.net>
- Date: Tue, 18 Aug 2009 06:06:23 -0400 (EDT)
- References: <h6b3f6$qts$1@smc.vnet.net>
In article <h6b3f6$qts$1 at smc.vnet.net>, "Richard Trilling" <rich.bis at wanadoo.fr> wrote: > Hello, > > I use the following M'ca 7 expression to plot histograms in a linear bin > range with linear bin heights, where the values are taken from the > components of a vector lum. The expression I use to plot the histogram is: > > hh = Histogram[Range[binwidth*Length[lum]] - 1, Length[lum], lum &, > > Where: > > Range[binwidth*Length[lum]: gives the range of coordinates along the x-axis. > > Length[lum]: is the number of bins. > > lum: each of its components gives the height of each individual bin. > > I haven't been able to figure out how to integrate the "log" options to get > both histogram heights (y-axis) and bin coordinates along x-axis in > logarithmic units. I think that Histogram is pretty buggy. I've had lots of trouble, although I have not gotten annoyed enough to file a bug report. Joe Gwinn