iconEuler Reference

Histogram Plots

Histogram plots.

Calling these functions is obsolete, since plot2d provides the functionality with the bar parameter.

function histo (d,n=10,integer=0,even=0)

  Computes {x,y} for histogram plots.
  
  d is an 1xm vector.
  
  Returns two vectors based on data vector d in n intervals
  x - End points of the intervals (equispaced n+1 points)
  y - The number of data in the subintervals (frequencies)
  
  integer=1 - for distributions on integer
  even=1 - better for evenly spaced discrete distributions
  To be used for plot2d and the bar style.
  
  The function is obsolete, since plot2d has parameters
  distribution=1, histgram=1 to achieve the same effect.
  
  See: 
plot2d (Maxima Documentation),
plot2d (Plot Functions in 2D and 3D)
function histogram (d,n=10,grid=0,ticks=1,width=4,integer=0)

  Plots a histogram of the data d with n intervals.
  
  The minimal and maximal value of form an interval, which is divided
  into n points. The number of data in each of the n subintervals is
  displayed. d is an 1xm vector.
  
  Obsolete function. Use plot2d with histogram=1.
  
  See: 
plot2d (Maxima Documentation),
plot2d (Plot Functions in 2D and 3D)

Documentation Homepage