MathGroup Archive 2004

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

Search the Archive

The Histogram[] command

  • To: mathgroup at smc.vnet.net
  • Subject: [mg49801] The Histogram[] command
  • From: "Doug" <umdougmm at hotmail.com>
  • Date: Sun, 1 Aug 2004 04:10:04 -0400 (EDT)
  • Organization: The University of Manitoba
  • Sender: owner-wri-mathgroup at wolfram.com

Do any of you know how I could force the histogram output for two different
lists to appear starting and ending at the same x-local.

For example, I have a list of observed data points and a list of a
theoretically produced distribution.

Histogram[observed];
Histogram[theoretical];

Produces very nice plots, but one has the y-axis starting at x=-1 while the
other has its at the origin.  One also displays different number of x-ticks
(but this is a smaller inconvenience).  I tried passing GraphicsOptions to
the Show command, but some of these are not recognized.  For example

h1 = Histogram[observed];
h2 = Histogram[theoretical];
Show[h1,PlotRegion->{{xmin,xmax},{ymin,ymax}}];
Show[h2,PlotRegion->{{xmin,xmax},{ymin,ymax}}];

doesn't work?  Isn't Histogram a Graphics Object?

Doug



  • Prev by Date: newbie problem with NIntegrate
  • Next by Date: Re: Re: Question on Compile[]
  • Previous by thread: Re: newbie problem with NIntegrate
  • Next by thread: Re: The Histogram[] command