Keywords - Function groups - @ A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

Library: graphic
See also: grbox grdot grhist grdotd grash

Quantlet: grbar
Description: generates a barchart.

Link:
Usage: bp = grbar (x {, col})
Input:
x n x 1 vector of numbers or text
col (optional) color of the barchart
Output:
bp composed graphical object

Example:
library("graphic")
library("plot")
t  = floor((normal(25)-8)|(normal(25)+8)|normal(100)|(normal(10)+25))
bp = grbar(t,1)
plot(bp)

Result:
Shows a blue barchart



Author: S. Klinke, 20020226
(C) MD*TECH Method and Data Technologies, 05.02.2006