Histogram()

Displays a histogram on a graphics device.

HISTOGRAM/DRAW [/CENTRE] [/NOTCENTRED] xarray=RealArray yarray=RealArray [colour=Colour] [line_type=LineStyle] [line_thickness=Real] Draw a Histogram at the x/yarray points.
HISTOGRAM/ALTER [/CENTRE] [/NOTCENTRED] [xarray=RealArray] [yarray=RealArray] [colour=Colour] [line_type=LineStyle] [line_thickness=Real] object=Gobject Alter the Histogram

example:

	# Draws a histogram
	# then alters the colour.
	>> h = graticule:draw(colour=$green)
	>> histogram/alter colour=$red object=h

Note: By default the points are not centred.

Histogram/Draw

Draws a histogram on a graphics device. If the xarray and yarray have already been defined, in either errors, histogram or markers. then it is not necessary to define them again.

Parameters:

/Centre

Plots the points at the centre of the bin.

/Notcentred

Plots the points at the beginning of the bin.

Xarray (RealArray)

Defines the x points.

Yarray (RealArray)

Defines the y points.

Colour (Colour)

Defines the histogram's colour.

Line_type (LineStyle)

Defines the line type of the graph. Such as $full, $dash, $dot_dash and $dot.

Line_thickness (Real)

Defines the histogram's line width.

RESULT = (OneDHistogram)

Returns the properties of the newly created histogram.

Histogram/Alter

Alters a histogram. The xarray and yarray is not able to be altered at this point in time.

Parameters:

/Centre

Plots the points at the centre of the bin.

/Notcentred

Plots the points at the beginning of the bin.

Xarray (RealArray)

Not yet implemented.

Yarray (RealArray)

Not Yet Implemented.

Colour (Colour)

Defines the histogram colour.

Line_type (LineStyle)

Defines the line type of the graph. Such as $full, $dash, $dot_dash and $dot.

Line_thickness (Real)

Defines the histogram's line width.

Object (Gobject)

Shows which histogram is to be altered, in any one window.

RESULT = (OneDHistogram)

Returns the properties of the altered histogram.