MathGroup Archive 2010

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

Search the Archive

Re: Basic histogram

  • To: mathgroup at smc.vnet.net
  • Subject: [mg109869] Re: Basic histogram
  • From: Bill Rowe <readnews at sbcglobal.net>
  • Date: Thu, 20 May 2010 06:39:46 -0400 (EDT)

On 5/19/10 at 8:15 PM, canopus56 at yahoo.com (Canopus56) wrote:

>How do I plot a basic histogram from a list of values.  This simple
>list will not plot -

>arrData3 = {1067., 2874., 2306., 2828., 2989., 838. , 1302., 2762.,
>682., 2108., 2902., 3001., 1997., 1269., 3110., 2496., 1911., 2266.,
>2244., 1074., 567., 754., 2987., 1893., 3809., 419., 745.  , 1791.,
>578., 1156., 777., 1669., 669., 1853., 2704., 3776., 2389., 57 11.}

>Histogram[arrData3, 500]

>The result displays a blue box with the word "Histogram" in it,
>followed by the data, with no graph.

If I copy your data and paste it into Mathematica then do
Histogram[arrData3,500] I see a plot, although not a very
interesting histogram given that choice of a bin width. I get a
better result when eliminating the space in the last entry and
simply doing Histogram[arrData3]. And this is with

In[7]:= $Version

Out[7]= 7.0 for Mac OS X x86 (64-bit) (February 19, 2009)



  • Prev by Date: Fluid dynamic over a complex terrain
  • Next by Date: Re: Overloading StringJoin
  • Previous by thread: Basic histogram
  • Next by thread: Re: Basic histogram