------------------------------------------------------------------------------- help forcirchistogram-------------------------------------------------------------------------------

Histogram for circular data with wrapping round of bins

circhistogramvarname[weight] [ifexp] [inrange] [,pad(#)histogram_options]

fweights are allowed; see help weights.The abbreviation

circhist(only) is allowed.

Description

circhistogramproduces a histogram for varname with some wrapping round of bins.varnameshould be a circular variable taking on values between 0 and 360 degrees.

Options

pad()places a pad of#degrees at each end. Data less than or equal to#degrees are copied at the right end of the axis for a horizontal interval of 360 to 360 +#degrees. Data more than 360 -#degrees are copied at the left end of the axis for a horizontal interval of -#to 0 degrees. The default is 180, so that a full two cycles are shown.

histogram_optionsare any of the options allowed with histogram, except that at present only the display of frequencies is supported.

Examples

. circhistogram wallasp, start(-180) width(30)

. circhistogram wallasp, pad(90) start(-90) width(30)

AuthorNicholas J. Cox, University of Durham, U.K. n.j.cox@durham.ac.uk

Also seeOn-line: help for histogram, circkdensity