MathGroup Archive 2004

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

Search the Archive

Re: Need help with HISTOGRAM plotting

  • To: mathgroup at smc.vnet.net
  • Subject: [mg51405] Re: [mg51388] Need help with HISTOGRAM plotting
  • From: Tomas Garza <tgarza01 at prodigy.net.mx>
  • Date: Sat, 16 Oct 2004 04:20:38 -0400 (EDT)
  • References: <200410150648.CAA05350@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

Perhaps you simply forgot to load the package Graphics`Graphics` prior to
calling the function Histogram (mind the syntax: use the French accent grave
` ). Try

In[1]:=
<< Graphics`Graphics`

In[2]:=
data = {97, 90, 91, 98, 93, 100, 90, 98, 91, 93, 98,
    93, 97, 93, 80, 95, 93, 99, 96, 80, 98, 85, 94,
    98, 96, 88, 93, 92, 88, 97, 90, 90};

In[3]:=
Histogram[data];

Tomas Garza
Mexico City
----- Original Message ----- 
From: "Peet" <mediocretes at gmail.com>
To: mathgroup at smc.vnet.net
Subject: [mg51405] [mg51388] Need help with HISTOGRAM plotting


> I've only been playing around with the trial version of Mathematica
> for a few hours but I can't figure out how the heck to plot a
> histogram. I have a list of data (below) that I want to plot. The
> range is 80 to 100 and I want 5 bins, across 4 points each. I feel
> that this is a pretty straightforward thing to do, but I can't even
> plot a single histogram, even when I reproduce the samples that they
> give in the math book word for word. The data is below, any help would
> be greatly appreciated.
>
>
97,90,91,98,93,100,90,98,91,93,98,93,97,93,80,95,93,99,96,80,98,85,94,98,96,
88,93,92,88,97,90,90
>
>



  • Prev by Date: Re: Need help with HISTOGRAM plotting
  • Next by Date: Re: Mathematica Symbolic Toolbox for MATLAB--Version 2.0
  • Previous by thread: Re: Re: Need help with HISTOGRAM plotting
  • Next by thread: Re: Need help with HISTOGRAM plotting