MathGroup Archive 2011

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

Search the Archive

Histogram omits data points

  • To: mathgroup at smc.vnet.net
  • Subject: [mg118845] Histogram omits data points
  • From: Yen Lee Loh <yenleeloh1 at gmail.com>
  • Date: Fri, 13 May 2011 06:25:30 -0400 (EDT)

Dear all,

With Mathematica version "8.0 for Linux x86 (64-bit) (February 23, 2011)",
the following command gives only three bars at horizontal positions -3, -1,
and 1; the bar at 3 is missing:

    Histogram[{-3, -1, -1, -1, 1, 1, 1, 3}, {0.05}, PlotRange -> All]

The following still gives the same problem.

    Histogram[{-3, -1, -1, -1, 1, 1, 1, 3}, {0.05}, PlotRange -> {{-4, 4},
All}]

However, the following command, with a larger bin spacing, is ok:

    Histogram[{-3, -1, -1, -1, 1, 1, 1, 3}, {0.1}, PlotRange -> All]

Just a warning for unwary users.  -Yen Lee


  • Prev by Date: Re: Implicit Plot with parameter
  • Next by Date: Problem with AbsoluteOptions and FullGraphics
  • Previous by thread: Re: Implicit Plot with parameter
  • Next by thread: Re: Histogram omits data points